Skip to content

Commit 029685b

Browse files
atscottthePunderWoman
authored andcommitted
build: update cherrypick changelog to stash
there are often some formatting/newline changes caused by other steps. just stash anything
1 parent b95753e commit 029685b

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

vscode-ng-language-service/tools/release.mts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -481,6 +481,7 @@ async function publishExtension(): Promise<void> {
481481
async function cherryPickChangelog(changelog: string, newVersion: string): Promise<void> {
482482
console.log(chalk.blue('Cherry-picking changelog to main...'));
483483

484+
await exec(`git stash`);
484485
await exec(`git fetch ${angularRepoRemote} main`);
485486
const cherryPickBranch = `vscode-changelog-cherry-pick${newVersion}`;
486487
await exec(`git branch -D ${cherryPickBranch}`).catch(() => {});

0 commit comments

Comments
 (0)