diff --git a/package.json b/package.json index 8db89a389..135f12279 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "skye", - "version": "6.6.1", + "version": "6.6.2", "sideEffects": false, "description": "Extensible, fast and innovative web browser with Innatical UI.", "keywords": [ diff --git a/scripts/ci-build.js b/scripts/ci-build.js index adae013f4..df457b0e8 100644 --- a/scripts/ci-build.js +++ b/scripts/ci-build.js @@ -76,7 +76,10 @@ const getInput = (name) => { setEnv('CSC_LINK', getEnv('windows_certs')); setEnv('CSC_KEY_PASSWORD', getEnv('windows_certs_password')); } else if (platform === 'linux') { - run('echo "$SNAPCRAFT_LOGIN" > /tmp/snapcraft-token'); + await promises.writeFile( + '/tmp/snapcraft-token', + getEnv('SNAPCRAFT_TOKEN'), + ); run('snapcraft login --with /tmp/snapcraft-token'); }