chore: always target master for nightly release commitish
This commit is contained in:
parent
ff7dfe4a11
commit
c066a51bfe
1 changed files with 1 additions and 1 deletions
|
@ -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 => {
|
||||
|
|
Loading…
Reference in a new issue