From e4ef4bc06e830caea77072934abeaa39b95b08fc Mon Sep 17 00:00:00 2001 From: Thorsten Sommer Date: Sat, 24 Aug 2024 14:00:27 +0200 Subject: [PATCH] Fixed an issue with the update file due to double quotes (#100) --- .github/workflows/build-and-release.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/build-and-release.yml b/.github/workflows/build-and-release.yml index c93a57de..07a1afa6 100644 --- a/.github/workflows/build-and-release.yml +++ b/.github/workflows/build-and-release.yml @@ -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 < $GITHUB_WORKSPACE/release/assets/latest.json {