Skip to content

Commit 9e94686

Browse files
authored
fix release action
1 parent 1b4dc6d commit 9e94686

1 file changed

Lines changed: 5 additions & 2 deletions

File tree

.github/workflows/release.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,10 @@ jobs:
137137
- Latest stable production release can be found at https://matomo.org/download/ ([learn more](https://matomo.org/docs/installation/)) (recommended)
138138
- Beta and Release Candidates releases can be found at https://builds.matomo.org/ ([learn more](http://matomo.org/faq/how-to-update/faq_159/))"
139139
fi
140-
140+
141+
body="${body//'%'/'%25'}"
142+
body="${body//$'\n'/'%0A'}"
143+
body="${body//$'\r'/'%0D'}"
141144
echo "version=$version" >> $GITHUB_OUTPUT
142145
echo "body=$body" >> $GITHUB_OUTPUT
143146
@@ -150,6 +153,6 @@ jobs:
150153
artifacts: "archives/matomo-${{ steps.tag.outputs.version }}.*,archives/piwik-${{ steps.tag.outputs.version }}.*"
151154
allowUpdates: ${{ steps.tag.outputs.update }}
152155
tag: ${{ steps.tag.outputs.version }}
153-
body: ${{ steps.tag.outputs.body }}
156+
body: "${{ steps.tag.outputs.body }}"
154157
prerelease: ${{ steps.tag.outputs.prerelease }}
155158
token: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)