Skip to content

Commit

Permalink
chore(scripts/release): stash + stash pop
Browse files Browse the repository at this point in the history
  • Loading branch information
caugner committed Oct 23, 2024
1 parent f1562a8 commit c36edef
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions scripts/release/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -69,8 +69,10 @@ const commitAndPR = async (
const quote = (str: string) => `'${str.replaceAll("'", "'\"'\"'")}'`;

exec(`
git stash
git switch main
git switch -C ${branch}
git stash pop
git add package.json package-lock.json RELEASE_NOTES.md
`);

Expand Down

0 comments on commit c36edef

Please sign in to comment.