Skip to content

Commit

Permalink
fix: replace newlines in github actions to avoid error on building re…
Browse files Browse the repository at this point in the history
…lease
  • Loading branch information
derkalle4 committed Nov 19, 2024
1 parent 416b748 commit 9bf0e4f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ jobs:
else
last_tag=$(git rev-list --max-parents=0 HEAD)
fi
release_notes=$(git log --pretty=format:"[%h](https://github.com/${{ github.repository }}/commit/%H) - %s (%an)" $last_tag..HEAD | sed ':a;N;$!ba;s/\n/%0A/g')
release_notes=$(git log --pretty=format:"[%h](https://github.com/${{ github.repository }}/commit/%H) - %s (%an)" $last_tag..HEAD | jq -sRr @uri)
echo "release_notes=$release_notes" >> $GITHUB_ENV
- name: Add Release on Github
Expand Down

0 comments on commit 9bf0e4f

Please sign in to comment.