mirror of
https://github.com/rebelonion/Dantotsu.git
synced 2026-01-28 23:41:03 +00:00
fix: sed 's/[ ]*\[.*$//' message
This commit is contained in:
11
.github/workflows/beta.yml
vendored
11
.github/workflows/beta.yml
vendored
@@ -231,11 +231,12 @@ jobs:
|
||||
# -F "dantotsu_debug=@app/build/outputs/apk/google/alpha/app-google-alpha.apk" \
|
||||
# ${{ secrets.DISCORD_WEBHOOK }}
|
||||
|
||||
# Send Telegram message and upload APK
|
||||
# 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}: ${commit_messages}" \
|
||||
# https://api.telegram.org/bot${{ secrets.TELEGRAM_BOT_TOKEN }}/sendDocument
|
||||
# Send Telegram message without uploading APK
|
||||
commit_messages=$(echo "$COMMIT_LOG" | sed 's/[ ]*\[.*$//' message)
|
||||
curl -X POST "https://api.telegram.org/bot${{ secrets.TELEGRAM_BOT_TOKEN }}/sendMessage" \
|
||||
-d "chat_id=${{ secrets.TELEGRAM_CHANNEL_ID }}" \
|
||||
-d "text=Alpha-Build: ${VERSION}: ${commit_messages}"
|
||||
|
||||
|
||||
env:
|
||||
COMMIT_LOG: ${{ env.COMMIT_LOG }}
|
||||
|
||||
Reference in New Issue
Block a user