chore: fix parsing of release body message (#2498)

Signed-off-by: Michele Dolfi <dol@zurich.ibm.com>
This commit is contained in:
Michele Dolfi
2025-10-20 13:41:35 +02:00
committed by GitHub
parent 5be856fbc0
commit a5af082d82

View File

@@ -17,7 +17,12 @@ jobs:
RELEASE_TAG=${{ github.event.release.tag_name }}
RELEASE_NAME="${{ github.event.release.name }}"
RELEASE_URL=${{ github.event.release.html_url }}
RELEASE_BODY="${{ github.event.release.body }}"
# Capture the body safely (handles backticks, $, ", etc.)
RELEASE_BODY=$(cat <<'EOF'
${{ github.event.release.body }}
EOF
)
# Fallback if release name is empty
if [ -z "$RELEASE_NAME" ]; then