mirror of
https://github.com/pulsar-edit/pulsar.git
synced 2024-11-10 10:17:11 +03:00
Ensure that Nightly builds are built as release branches
This commit is contained in:
parent
d625e855c8
commit
4c43c071b1
@ -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-') ||
|
||||
|
Loading…
Reference in New Issue
Block a user