Skip to content

Commit

Permalink
Fixed an issue with the update file due to double quotes (#100)
Browse files Browse the repository at this point in the history
  • Loading branch information
SommerEngineering authored Aug 24, 2024
1 parent ae17104 commit e4ef4bc
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/build-and-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
{
Expand Down

0 comments on commit e4ef4bc

Please sign in to comment.