Skip to content

Commit 72e1f2f

Browse files
Update .github/workflows/community-release-notifier.yml
Co-authored-by: greptile-apps[bot] <165735046+greptile-apps[bot]@users.noreply.github.com>
1 parent c5828d6 commit 72e1f2f

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.github/workflows/community-release-notifier.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,13 +54,14 @@ jobs:
5454
URL_SAFE=$(printf '%s' "$URL" | sed 's/[_*[\]()~`>#+=|{}.!\\-]/\\&/g')
5555
5656
if [[ "$TAG" == *"-nightly"* ]]; then
57-
SUFFIX=" (Nightly Release)"
57+
if [[ "$TAG" == *"-nightly"* ]]; then
58+
SUFFIX=" \\(Nightly Release\\)"
5859
else
5960
SUFFIX=""
6061
fi
6162
6263
# Announcement line — also escape for safety
63-
ANNOUNCE_SAFE="📢 Acode \[$TAG_SAFE\]($URL_SAFE) was just Released 🎉$SUFFIX!"
64+
ANNOUNCE_SAFE="📢 Acode \[$TAG_SAFE\]($URL_SAFE) was just Released 🎉${SUFFIX}\\!"
6465
6566
echo "announce=$ANNOUNCE_SAFE" >> $GITHUB_OUTPUT
6667
echo "body_safe=$BODY_SAFE" >> $GITHUB_OUTPUT

0 commit comments

Comments
 (0)