Skip to content

Commit c341484

Browse files
committed
Fix Changelog generation for releases
1 parent 48a7b38 commit c341484

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

.github/workflows/maven.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,11 @@ jobs:
7777
- name: Read CHANGELOG
7878
id: changelog
7979
run: |
80-
echo "::set-output name=body::$(cat CHANGELOG.md)"
80+
CHANGELOG=$(cat CHANGELOG.md)
81+
CHANGELOG="${CHANGELOG//'%'/'%25'}"
82+
CHANGELOG="${CHANGELOG//$'\n'/'%0A'}"
83+
CHANGELOG="${CHANGELOG//$'\r'/'%0D'}"
84+
echo "::set-output name=body::$CHANGELOG"
8185
8286
- name: Create Release
8387
uses: actions/create-release@master

0 commit comments

Comments
 (0)