Skip to content

Commit

Permalink
Merge pull request #23047 from storybookjs/kasper/compare-commits
Browse files Browse the repository at this point in the history
Release tooling: Fix commit comparing
  • Loading branch information
kasperpeulen committed Jun 13, 2023
1 parent 1ca9621 commit 64cde8e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/release/generate-pr-description.ts
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ export const mapCherryPicksToTodo = ({
}): string => {
const list = commits
.map((commit) => {
const foundChange = changes.find((change) => change.commit === commit.substring(0, 7));
const foundChange = changes.find((change) => change.commit === commit);
if (!foundChange) {
throw new Error(
`Cherry pick commit "${commit}" not found in changes, this should not happen?!`
Expand Down

0 comments on commit 64cde8e

Please sign in to comment.