Skip to content

Commit

Permalink
chore: trim changelog
Browse files Browse the repository at this point in the history
  • Loading branch information
oktoshi committed Dec 18, 2024
1 parent 24f5c5f commit f686cd1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/pre-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ jobs:
id: release_body
run: |
if [ -f CHANGELOG.md ]; then
body="$(awk '{printf "%s\\n", $0}' CHANGELOG.md | sed 's/"/\\"/g')"
body="$(head -n 1000 CHANGELOG.md | awk '{printf "%s\\n", $0}' | sed 's/"/\\"/g')"
echo "body=${body}" >> $GITHUB_OUTPUT
else
echo "body=No changelog provided for this release." >> $GITHUB_OUTPUT
Expand Down

0 comments on commit f686cd1

Please sign in to comment.