Skip to content

Commit

Permalink
sync release scripts from next to main
Browse files Browse the repository at this point in the history
  • Loading branch information
JReinhold committed Jul 4, 2023
1 parent ca612f1 commit 190a7e5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions scripts/release/generate-pr-description.ts
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ const CHANGE_TITLES_TO_IGNORE = [
/\[skip ci\]/i,
/\[ci skip\]/i,
/^Update CHANGELOG\.md for.*/i,
/^Release: (Pre)?(Patch|Minor|Major|Release).*\d+$/i,
];

export const mapToChangelist = ({
Expand Down
2 changes: 1 addition & 1 deletion scripts/release/pick-patches.ts
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ export const run = async (_: unknown) => {
const prSpinner = ora(`Cherry picking #${pr.number}`).start();

try {
await git.raw(['cherry-pick', '-m', '1', '-x', pr.mergeCommit]);
await git.raw(['cherry-pick', '-m', '1', '--keep-redundant-commits', '-x', pr.mergeCommit]);
prSpinner.succeed(`Picked: ${formatPR(pr)}`);
} catch (pickError) {
prSpinner.fail(`Failed to automatically pick: ${formatPR(pr)}`);
Expand Down

0 comments on commit 190a7e5

Please sign in to comment.