Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.
ci: Send emails for weekly release (#27102)
Peter Trippedd1b48e7cc4
diff --git a/.github/workflows/community_release_actions.yml b/.github/workflows/community_release_actions.ymlindex 9d1aef8b231..6a3567884c4 100644--- a/.github/workflows/community_release_actions.yml+++ b/.github/workflows/community_release_actions.yml@@ -58,12 +58,11 @@ jobs:- name: Send release notes emailif: 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+ jq -n --arg tag "$TAG" --rawfile body release_body.txt '{version: $tag, markdown_body: $body}' \+ > release_data.jsoncurl -X POST "https://zed.dev/api/send_release_notes_email" \- -H "Authorization: Bearer ${{ secrets.RELEASE_NOTES_API_TOKEN }}" \- -H "Content-Type: application/json" \- -d @- <<-JSON- {- "version": "${{ github.event.release.tag_name }}",- "markdown_body": ${{ toJSON(github.event.release.body) }}- }- JSON+ -H "Authorization: Bearer ${{ secrets.RELEASE_NOTES_API_TOKEN }}" \+ -H "Content-Type: application/json" \+ -d @release_data.json