File tree Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -84,13 +84,16 @@ jobs:
8484 username=$(echo "$repo_url" | sed -E 's#.*github.com[:/](.*)/(.*).git#\1#')
8585 repo_name=$(echo "$repo_url" | sed -E 's#.*github.com[:/](.*)/(.*).git#\2#')
8686 architectures=("arm64-v8a" "armeabi-v7a" "universal" "x86" "x86_64")
87+ NL="%0A"
8788
88- MESSAGE="🚀 *New Release Available! $$ VERSION*\n\n "
89+ MESSAGE="🚀 *New Release Available! $VERSION*$NL$NL "
8990
9091 for arch in "${architectures[@]}"; do
9192 name="hviewer-$VERSION-$arch-release.apk"
92- MESSAGE+="🔹 [$name](https://github.com/$username/$repo_name/releases/latest/download/$name)\n "
93+ MESSAGE+="🔹 [$name](https://github.com/$username/$repo_name/releases/latest/download/$name)$NL "
9394 done
95+
96+ echo $MESSAGE
9497
9598 curl -X POST "https://api.telegram.org/bot$TELEGRAM_BOT_TOKEN/sendMessage" \
9699 -d "chat_id=$TELEGRAM_CHAT_ID" \
You can’t perform that action at this time.
0 commit comments