We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d9fff73 commit 5dc43efCopy full SHA for 5dc43ef
1 file changed
lib/prepare_release.js
@@ -37,7 +37,7 @@ export default class ReleasePreparation extends Session {
37
}
38
39
get branch() {
40
- return this.stagingBranch;
+ return this.isSecurityRelease ? this.releaseBranch : this.stagingBranch;
41
42
43
warnForNonMergeablePR(pr) {
@@ -520,7 +520,7 @@ export default class ReleasePreparation extends Session {
520
await fs.writeFile(majorChangelogPath, arr.join('\n'));
521
522
523
- async createProposalBranch(base = this.stagingBranch) {
+ async createProposalBranch(base = this.branch) {
524
const { newVersion } = this;
525
const proposalBranch = `v${newVersion}-proposal`;
526
0 commit comments