diff --git a/lib/prepare_release.js b/lib/prepare_release.js index c34a5e80..b5431a54 100644 --- a/lib/prepare_release.js +++ b/lib/prepare_release.js @@ -93,9 +93,9 @@ export default class ReleasePreparation extends Session { } = this; // Create new proposal branch. - cli.startSpinner(`Creating new proposal branch for ${newVersion}`); + cli.startSpinner(`Switching to proposal branch for ${newVersion}`); const proposalBranch = await this.createProposalBranch(releaseBranch); - cli.stopSpinner(`Created new proposal branch for ${newVersion}`); + cli.stopSpinner(`Switched to proposal branch for ${newVersion}`); const success = await this.cherryPickSecurityPRs(filterLabels); if (!success) { @@ -201,9 +201,9 @@ export default class ReleasePreparation extends Session { } // Create new proposal branch. - cli.startSpinner(`Creating new proposal branch for ${newVersion}`); + cli.startSpinner(`Switching to proposal branch for ${newVersion}`); await this.createProposalBranch(); - cli.stopSpinner(`Created new proposal branch for ${newVersion}`); + cli.stopSpinner(`Switched to proposal branch for ${newVersion}`); if (this.isLTSTransition) { // For releases transitioning into LTS, fetch the new code name. @@ -535,7 +535,7 @@ export default class ReleasePreparation extends Session { await runAsync('git', [ 'checkout', - '-b', + '-B', proposalBranch, base ]);