Skip to content

Commit

Permalink
Merge pull request #23244 from storybookjs/fix-picked-labelling
Browse files Browse the repository at this point in the history
Release tooling: Fix "picked" labelling

(cherry picked from commit 7375f7a)
  • Loading branch information
kasperpeulen authored and github-actions[bot] committed Jul 2, 2023
1 parent 2ea39b4 commit a6fd049
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/release/label-patches.ts
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ export const run = async (_: unknown) => {
spinner.succeed(`Found latest tag: ${latestTag}`);

const spinner2 = ora(`Looking at cherry pick commits since ${latestTag}`).start();
const commitsSinceLatest = await git.log({ from: latestTag, '--first-parent': null });
const commitsSinceLatest = await git.log({ from: latestTag });
console.log(commitsSinceLatest);
const cherryPicked = commitsSinceLatest.all.flatMap((it) => {
const result = it.body.match(/\(cherry picked from commit (\b[0-9a-f]{7,40}\b)\)/);
Expand Down

0 comments on commit a6fd049

Please sign in to comment.