Skip to content

Commit

Permalink
fix(gradle): update patchVersion and improve commit message escaping …
Browse files Browse the repository at this point in the history
…in publish.yml

# GENERATE BY https://aicommit.app
  • Loading branch information
rosuH committed Sep 10, 2024
1 parent 7d77c1c commit 2b560b3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ jobs:
```by `${{ github.event.head_commit.author.name }}`
更多提交细节:(${{ github.event.head_commit.url }})
run: |
ESCAPED=$(echo "$COMMIT_MESSAGE" | sed 's/[_*[\]()~`>#+\-=|{}.!]/\\&/g')
ESCAPED=`python3 -c 'import json,os,urllib.parse; print(urllib.parse.quote(json.dumps(os.environ["COMMIT_MESSAGE"])))'`
curl -v "https://api.telegram.org/bot${BOT_TOKEN}/sendMediaGroup?chat_id=${CHANNEL_ID}&media=%5B%7B%22type%22%3A%22document%22%2C%20%22media%22%3A%22attach%3A%2F%2FmarketRelease%22%2C%22parse_mode%22%3A%22MarkdownV2%22%2C%22caption%22:${ESCAPED}%7D%5D" -F marketRelease="@$MARKET_FILE"
# - name: Upload Android Release to Play Store
Expand Down
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -28,4 +28,4 @@ android.nonTransitiveRClass=true

majorVersion=0
minorVersion=0
patchVersion=11
patchVersion=12

0 comments on commit 2b560b3

Please sign in to comment.