Skip to content

armgit / zed

Public Imported from GitHub
0

Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.

Preserve newlines in release notes email (#27670)

Joseph T. Lyons82ce187bfcfe
diff --git a/.github/workflows/community_release_actions.yml b/.github/workflows/community_release_actions.yml
index 115904e7aed..3e253978b7a 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" \