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
  • Loading branch information
kasperpeulen authored Jun 30, 2023
2 parents 446bed6 + 713150b commit 7375f7a
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 7375f7a

Please sign in to comment.