mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
build: update cherrypick changelog to stash
there are often some formatting/newline changes caused by other steps. just stash anything
This commit is contained in:
committed by
Jessica Janiuk
parent
b95753eb7d
commit
029685bd93
@@ -481,6 +481,7 @@ async function publishExtension(): Promise<void> {
|
||||
async function cherryPickChangelog(changelog: string, newVersion: string): Promise<void> {
|
||||
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(() => {});
|
||||
|
||||
Reference in New Issue
Block a user