File tree Expand file tree Collapse file tree 1 file changed +5
-24
lines changed
Expand file tree Collapse file tree 1 file changed +5
-24
lines changed Original file line number Diff line number Diff line change @@ -400,40 +400,21 @@ jobs:
400400 exit 0
401401 fi
402402
403- # Read release notes and preserve markdown formatting
404- RELEASE_NOTES=$(< RELEASE_NOTES.md)
403+ # Read release notes
404+ RELEASE_NOTES=$(cat RELEASE_NOTES.md)
405405 VERSION="7.${{ github.run_number }}"
406406
407- # Prepare JSON payload using --rawfile to properly handle multiline markdown
407+ # Prepare JSON payload
408408 PAYLOAD=$(jq -n \
409409 --arg version "$VERSION" \
410- --rawfile notes RELEASE_NOTES.md \
411- --arg platform "android" \
410+ --arg notes "$RELEASE_NOTES" \
412411 --arg buildNumber "${{ github.run_number }}" \
413412 --arg commitSha "${{ github.sha }}" \
414413 --arg buildUrl "${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}" \
415414 '{
416415 "version": $version,
417416 "title": ("Release v" + $version),
418- "content": $notes,
419- "tags": [
420- {
421- "id": "platform",
422- "name": ($platform | tostring)
423- },
424- {
425- "id": "buildNumber",
426- "name": ($buildNumber | tostring)
427- },
428- {
429- "id": "commitSha",
430- "name": ($commitSha | tostring)
431- },
432- {
433- "id": "buildUrl",
434- "name": ($buildUrl | tostring)
435- }
436- ]
417+ "content": "$notes",
437418 }')
438419
439420 echo "Sending release notes to Changerawr..."
You can’t perform that action at this time.
0 commit comments