fix: clean up changelog content processing in GitHub Actions workflow

This commit is contained in:
Théophile Diot 2024-11-25 17:16:34 +01:00
parent 571aed1f0c
commit 05338fbee2
No known key found for this signature in database
GPG key ID: FA995104A0BA376A

View file

@ -44,9 +44,6 @@ jobs:
id: getchangelog
run: |
content=$(awk -v n=2 '/##/{n--}; n > 0' CHANGELOG.md | grep -v '# Changelog' | grep -v '##' | sed '/^$/d')
content="${content//'%'/'%25'}"
content="${content//$'\n'/'%0A'}"
content="${content//$'\r'/'%0D'}"
echo "content=$content" >> $GITHUB_OUTPUT
# Create release
- name: Create release