Skip to content

Commit e4ef4bc

Browse files
Fixed an issue with the update file due to double quotes (#100)
1 parent ae17104 commit e4ef4bc

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

.github/workflows/build-and-release.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -729,6 +729,9 @@ jobs:
729729
# Replace newlines in changelog with \n
730730
changelog=$(echo "$CHANGELOG" | awk '{printf "%s\\n", $0}')
731731
732+
# Escape double quotes in changelog:
733+
changelog=$(echo "$changelog" | sed 's/"/\\"/g')
734+
732735
# Create the latest.json file:
733736
cat <<EOOOF > $GITHUB_WORKSPACE/release/assets/latest.json
734737
{

0 commit comments

Comments
 (0)