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

This commit is contained in:
Thorsten Sommer 2024-08-24 14:00:27 +02:00 committed by GitHub
parent ae17104886
commit e4ef4bc06e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

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
{