Fixed an issue with the update file due to double quotes (#100)

This commit is contained in:
Thorsten Sommer authored and GitHub committed 2024-08-24 14:00:27 +02:00
1 parent ae17104886
commit e4ef4bc06e
1 file changed
+3
+3
View File
@@ -729,6 +729,9 @@ jobs:
# Replace newlines in changelog with \n
changelog=$(echo "$CHANGELOG" | awk '{printf "%s\\n", $0}')
# Escape double quotes in changelog:
changelog=$(echo "$changelog" | sed 's/"/\\"/g')
# Create the latest.json file:
cat <<EOOOF > $GITHUB_WORKSPACE/release/assets/latest.json
{