Skip to content
Snippets Groups Projects
Unverified Commit e37533b7 authored by Samuel Attard's avatar Samuel Attard Committed by GitHub
Browse files

build: do not require vsts token for releases (#28643)

parent f8bdef53
No related merge requests found
......@@ -4,4 +4,3 @@
APPVEYOR_CLOUD_TOKEN=
CIRCLE_TOKEN=
ELECTRON_GITHUB_TOKEN=
VSTS_TOKEN=
\ No newline at end of file
......@@ -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;
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment