chore: always target master for nightly releases (#14190)
This commit is contained in:
parent
8039bdc061
commit
8f23fe8ab0
1 changed files with 1 additions and 1 deletions
|
@ -179,7 +179,7 @@ async function createRelease (branchToTarget, isBeta) {
|
||||||
githubOpts.body = releaseNotes
|
githubOpts.body = releaseNotes
|
||||||
}
|
}
|
||||||
githubOpts.tag_name = newVersion
|
githubOpts.tag_name = newVersion
|
||||||
githubOpts.target_commitish = branchToTarget
|
githubOpts.target_commitish = newVersion.indexOf('nightly') !== -1 ? 'master' : branchToTarget
|
||||||
await github.repos.createRelease(githubOpts)
|
await github.repos.createRelease(githubOpts)
|
||||||
.catch(err => {
|
.catch(err => {
|
||||||
console.log(`${fail} Error creating new release: `, err)
|
console.log(`${fail} Error creating new release: `, err)
|
||||||
|
|
Loading…
Add table
Reference in a new issue