Skip to content

Commit 483062d

Browse files
ADFA-3269 Safer handling of shell special characters (#1077)
Safer handling of shell special characters
1 parent deafbbd commit 483062d

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -705,7 +705,7 @@ jobs:
705705
APK_BASENAME=$(basename "$APK_PATH")
706706
APK_FILENAME="${APK_BASENAME%.*}-${VARIANT}.${APK_BASENAME##*.}"
707707
DOWNLOAD_URL="https://download.appdevforall.org/${APK_FILENAME}"
708-
MESSAGE="${GIT_LOG}"$'\n\n'"Download: ${DOWNLOAD_URL}"
708+
MESSAGE=$( printf "Download: %s\n\n%s" "$DOWNLOAD_URL" "$GIT_LOG" )
709709
# Telegram message limit 4096; use first 4096 chars
710710
MESSAGE="${MESSAGE:0:4096}"
711711
curl -s -X POST -H "Content-Type: application/json" \
@@ -716,4 +716,4 @@ jobs:
716716
if: always()
717717
run: |
718718
rm -f app/google-services.json
719-
echo "google-services.json cleaned up successfully"
719+
echo "google-services.json cleaned up successfully"

0 commit comments

Comments
 (0)