Skip to content

Commit de93119

Browse files
authored
Update on-release.yml to unescape the json
1 parent c65e22c commit de93119

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/workflows/on-release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ jobs:
3535
echo "artifact_name=PatchManager-$version.zip" >> $GITHUB_ENV
3636
echo "zip=$(ls -1 dist/PatchManager-*.zip | head -n 1)" >> $GITHUB_ENV
3737
echo "upload_url=$(wget -qO- https://api.github.com/repos/$GITHUB_REPOSITORY/releases | jq '.[0].upload_url' | tr -d \")" >> $GITHUB_ENV
38-
echo "changelog=$(wget -qO- https://api.github.com/repos/$GITHUB_REPOSITORY/releases | jq '.[0].body' | tr -d \")" >> $GITHUB_ENV
38+
echo "changelog=$(wget -qO- https://api.github.com/repos/$GITHUB_REPOSITORY/releases | jq -r '.[0].body')" >> $GITHUB_ENV
3939
echo "${{ env.changelog }}" > ./changelog.md
4040
4141
- name: Check if version exists

0 commit comments

Comments
 (0)