Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
build: do not require vsts token for releases (#28643)
  • Loading branch information
MarshallOfSound committed Apr 13, 2021
1 parent f8bdef5 commit e37533b
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
1 change: 0 additions & 1 deletion .env.example
Expand Up @@ -4,4 +4,3 @@
APPVEYOR_CLOUD_TOKEN=
CIRCLE_TOKEN=
ELECTRON_GITHUB_TOKEN=
VSTS_TOKEN=
1 change: 1 addition & 0 deletions script/release/ci-release-build.js
Expand Up @@ -270,6 +270,7 @@ async function buildVSTS (targetBranch, options) {

let vstsURL = VSTS_URL;
let vstsToken = process.env.VSTS_TOKEN;
assert(vstsToken, `${options.ci} requires the $VSTS_TOKEN environment variable to be provided`);
if (options.ci === 'DevOps') {
vstsURL = DEVOPS_URL;
vstsToken = process.env.DEVOPS_TOKEN;
Expand Down

0 comments on commit e37533b

Please sign in to comment.