Fix release notes API call with heredoc syntax (#27096)

Release Notes:

- N/A
This commit is contained in:
Joseph T. Lyons 2025-03-19 13:50:46 -04:00 committed by GitHub
parent 4487dc1064
commit 2491426be7
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -61,7 +61,9 @@ jobs:
curl -X POST "https://zed.dev/api/send_release_notes_email" \ curl -X POST "https://zed.dev/api/send_release_notes_email" \
-H "Authorization: Bearer ${{ secrets.RELEASE_NOTES_API_TOKEN }}" \ -H "Authorization: Bearer ${{ secrets.RELEASE_NOTES_API_TOKEN }}" \
-H "Content-Type: application/json" \ -H "Content-Type: application/json" \
-d '{ -d @- <<-JSON
"version": "${{ github.event.release.tag_name }}", {
"markdown_body": ${{ toJSON(github.event.release.body) }} "version": "${{ github.event.release.tag_name }}",
}' "markdown_body": ${{ toJSON(github.event.release.body) }}
}
JSON