Skip to content

Commit 4ba2921

Browse files
authored
Merge pull request #128 from BitGo/WP-5644
fix(gha): fix bug on generating semantic release notes
2 parents ff12619 + 53b830e commit 4ba2921

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/release-to-ghcr.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ jobs:
103103
id: generate-notes
104104
run: |
105105
# Generate release notes using the existing .releaserc.json configuration
106-
notes=$(npx semantic-release --dry-run --no-ci --plugins @semantic-release/release-notes-generator 2>/dev/null | grep -A 1000 "The release notes for this version" | tail -n +2 || echo "## What's Changed\n\nThis release includes various improvements and bug fixes.")
106+
notes=$(npx semantic-release --dry-run --no-ci --plugins @semantic-release/release-notes-generator 2>/dev/null | grep -A 1000 "Release note for version" | tail -n +2)
107107
108108
echo "notes<<EOF" >> $GITHUB_OUTPUT
109109
echo "$notes" >> $GITHUB_OUTPUT

0 commit comments

Comments
 (0)