From 2cb94e74df0bc3492a08d009c7dbfa3e76d56715 Mon Sep 17 00:00:00 2001 From: ibo <41344259+sneazy-ibo@users.noreply.github.com> Date: Mon, 24 Jun 2024 05:36:43 +0200 Subject: [PATCH] back to fucking oops --- .github/workflows/beta.yml | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/.github/workflows/beta.yml b/.github/workflows/beta.yml index 72fa630f..197a0242 100644 --- a/.github/workflows/beta.yml +++ b/.github/workflows/beta.yml @@ -254,6 +254,7 @@ jobs: # 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>/') + message=$(echo "$message" | sed -E 's/\[#([0-9]+)\]\((https:\/\/github\.com\/[^)]+)\)/#\1<\/a>/g') echo "$message" done) @@ -272,15 +273,6 @@ jobs: ${telegram_commit_messages}" \ -F "parse_mode=HTML") - - if [ $? -eq 0 ]; then - echo "Successfully uploaded APK to Telegram" - echo "Response: $response" - else - echo "Failed to upload APK to Telegram" - echo "Response: $response" - exit 1 - fi else echo "APK file not found at $APK_PATH" exit 1