diff --git a/.github/workflows/community_release_actions.yml b/.github/workflows/community_release_actions.yml index 115904e7ae..3e253978b7 100644 --- a/.github/workflows/community_release_actions.yml +++ b/.github/workflows/community_release_actions.yml @@ -59,7 +59,9 @@ jobs: if: steps.check-promotion-from-preview.outputs.was_promoted_from_preview == 'true' run: | TAG="${{ github.event.release.tag_name }}" - echo \"${{ toJSON(github.event.release.body) }}\" > release_body.txt + cat << 'EOF' > release_body.txt + ${{ github.event.release.body }} + EOF jq -n --arg tag "$TAG" --rawfile body release_body.txt '{version: $tag, markdown_body: $body}' \ > release_data.json curl -X POST "https://zed.dev/api/send_release_notes_email" \