File tree Expand file tree Collapse file tree 1 file changed +1
-2
lines changed
Expand file tree Collapse file tree 1 file changed +1
-2
lines changed Original file line number Diff line number Diff line change @@ -40,11 +40,10 @@ jobs:
4040 - name : Broadcast release on Discord
4141 env :
4242 DISCORD_WEBHOOK : ${{ secrets.DISCORD_RELEASE_WEBHOOK_URL }}
43- RELEASE_BODY : ${{ steps.generate_release_notes.outputs.changelog }}
4443 RELEASE_URL : https://github.com/${{ github.repository }}/releases/tag/${{ github.ref_name }}
4544 RELEASE_TAG : ${{ github.ref_name }}
4645 run : |
47- processed_body=$(echo "$RELEASE_BODY" | perl -0777 -pe 's/\n*### (\S+) (.+?)\n+/\n### `\1` \2\n/g')
46+ processed_body=$(cat release_notes.txt | perl -0777 -pe 's/\n*### (\S+) (.+?)\n+/\n### `\1` \2\n/g')
4847 final_content=$(printf "%s\n%s" "-# Read the [GitHub release](<${RELEASE_URL}>)." "$processed_body")
4948 jq -n \
5049 --arg content "$final_content" \
You can’t perform that action at this time.
0 commit comments