Skip to content

Commit a5af082

Browse files
authored
chore: fix parsing of release body message (#2498)
Signed-off-by: Michele Dolfi <[email protected]>
1 parent 5be856f commit a5af082

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

.github/workflows/discord-release.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,12 @@ jobs:
1717
RELEASE_TAG=${{ github.event.release.tag_name }}
1818
RELEASE_NAME="${{ github.event.release.name }}"
1919
RELEASE_URL=${{ github.event.release.html_url }}
20-
RELEASE_BODY="${{ github.event.release.body }}"
20+
21+
# Capture the body safely (handles backticks, $, ", etc.)
22+
RELEASE_BODY=$(cat <<'EOF'
23+
${{ github.event.release.body }}
24+
EOF
25+
)
2126
2227
# Fallback if release name is empty
2328
if [ -z "$RELEASE_NAME" ]; then

0 commit comments

Comments
 (0)