mirror of
https://github.com/DS4SD/docling.git
synced 2025-12-08 12:48:28 +00:00
chore: fix parsing of release body message (#2498)
Signed-off-by: Michele Dolfi <dol@zurich.ibm.com>
This commit is contained in:
7
.github/workflows/discord-release.yml
vendored
7
.github/workflows/discord-release.yml
vendored
@@ -17,7 +17,12 @@ jobs:
|
|||||||
RELEASE_TAG=${{ github.event.release.tag_name }}
|
RELEASE_TAG=${{ github.event.release.tag_name }}
|
||||||
RELEASE_NAME="${{ github.event.release.name }}"
|
RELEASE_NAME="${{ github.event.release.name }}"
|
||||||
RELEASE_URL=${{ github.event.release.html_url }}
|
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
|
# Fallback if release name is empty
|
||||||
if [ -z "$RELEASE_NAME" ]; then
|
if [ -z "$RELEASE_NAME" ]; then
|
||||||
|
|||||||
Reference in New Issue
Block a user