From 915c6c1dfe9c4067c7936f45d9afb49d043e7dea Mon Sep 17 00:00:00 2001 From: aayush262 Date: Sat, 10 Feb 2024 23:11:20 +0530 Subject: [PATCH] feat: better format for change logs --- .github/workflows/beta.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/beta.yml b/.github/workflows/beta.yml index 21e1f14b..21287826 100644 --- a/.github/workflows/beta.yml +++ b/.github/workflows/beta.yml @@ -39,7 +39,7 @@ jobs: fi echo "Commits since $LAST_SHA:" # Accumulate commit logs in a shell variable - COMMIT_LOGS=$(git log $LAST_SHA..HEAD --pretty=format:"%h - %s") + COMMIT_LOGS=$(git log $LAST_SHA..HEAD --pretty=format:"ยท %s") # URL-encode the newline characters for GitHub Actions COMMIT_LOGS="${COMMIT_LOGS//'%'/'%25'}" COMMIT_LOGS="${COMMIT_LOGS//$'\n'/'%0A'}" @@ -104,7 +104,7 @@ jobs: #Telegram curl -F "chat_id=${{ secrets.TELEGRAM_CHANNEL_ID }}" \ -F "document=@app/build/outputs/apk/google/alpha/app-google-alpha.apk" \ - -F "caption=[Alpha-Build: ${VERSION}] Change logs :${commit_messages}" \ + -F "caption=Alpha-Build: **${VERSION}** Change logs :${commit_messages}" \ https://api.telegram.org/bot${{ secrets.TELEGRAM_BOT_TOKEN }}/sendDocument env: