diff --git a/vscode-ng-language-service/tools/release.mts b/vscode-ng-language-service/tools/release.mts index d01e548258b..37049db9ce8 100644 --- a/vscode-ng-language-service/tools/release.mts +++ b/vscode-ng-language-service/tools/release.mts @@ -481,6 +481,7 @@ async function publishExtension(): Promise { async function cherryPickChangelog(changelog: string, newVersion: string): Promise { console.log(chalk.blue('Cherry-picking changelog to main...')); + await exec(`git stash`); await exec(`git fetch ${angularRepoRemote} main`); const cherryPickBranch = `vscode-changelog-cherry-pick${newVersion}`; await exec(`git branch -D ${cherryPickBranch}`).catch(() => {});