From e379201b3401221a170dc667ca31419904f0c765 Mon Sep 17 00:00:00 2001 From: ibo <41344259+sneazy-ibo@users.noreply.github.com> Date: Sun, 23 Jun 2024 22:54:48 +0200 Subject: [PATCH] fix: oops --- .github/workflows/beta.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/workflows/beta.yml b/.github/workflows/beta.yml index be53fcab..72fa630f 100644 --- a/.github/workflows/beta.yml +++ b/.github/workflows/beta.yml @@ -250,6 +250,12 @@ jobs: else echo "Skipping APK upload to Discord due to SKIP_BUILDING_APK being set to true" fi + + # Format commit messages for Telegram (HTML format with quote) + telegram_commit_messages=$(echo "$COMMIT_LOG" | sed 's/%0A/\n/g' | while read -r line; do + message=$(echo "$line" | sed -E 's/● (.*) ~(.*) \[֍\]\((.*)\)/● \1 ~\2 ֍<\/a>/') + echo "$message" + done) # Wrap commit messages in a blockquote for proper quote effect telegram_commit_messages="
${telegram_commit_messages}
"