mirror of
https://github.com/electron/electron.git
synced 2026-04-10 03:01:51 -04:00
chore: always target master for nightly releases (#14190)
This commit is contained in:
committed by
Shelley Vohr
parent
8039bdc061
commit
8f23fe8ab0
@@ -179,7 +179,7 @@ async function createRelease (branchToTarget, isBeta) {
|
||||
githubOpts.body = releaseNotes
|
||||
}
|
||||
githubOpts.tag_name = newVersion
|
||||
githubOpts.target_commitish = branchToTarget
|
||||
githubOpts.target_commitish = newVersion.indexOf('nightly') !== -1 ? 'master' : branchToTarget
|
||||
await github.repos.createRelease(githubOpts)
|
||||
.catch(err => {
|
||||
console.log(`${fail} Error creating new release: `, err)
|
||||
|
||||
Reference in New Issue
Block a user