mirror of
https://github.com/electron/electron.git
synced 2026-04-10 03:01:51 -04:00
chore: always target master for nightly release commitish
This commit is contained in:
@@ -180,7 +180,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
|
||||
console.log('creating release with github opts', githubOpts)
|
||||
await github.repos.createRelease(githubOpts)
|
||||
.catch(err => {
|
||||
|
||||
Reference in New Issue
Block a user