Ensure that Nightly builds are built as release branches

This commit is contained in:
David Wilson 2018-08-06 13:18:46 -07:00
parent d625e855c8
commit 4c43c071b1

View File

@ -43,7 +43,7 @@ async function getReleaseVersion () {
// Write out some variables that indicate whether artifacts should be uploaded
const buildBranch = process.env.BUILD_SOURCEBRANCHNAME
const isReleaseBranch = process.env.IS_RELEASE_BRANCH || buildBranch.match(/\d\.\d+-releases/) !== null
const isReleaseBranch = process.env.IS_RELEASE_BRANCH || argv.nightly || buildBranch.match(/\d\.\d+-releases/) !== null
const isSignedZipBranch =
process.env.IS_SIGNED_ZIP_BRANCH ||
buildBranch.startsWith('electron-') ||