ci: add version to tg msg (#75)

This commit is contained in:
Ylarod
2023-01-16 18:15:35 +08:00
committed by GitHub
parent bf3edfd0ef
commit b9dd673518
5 changed files with 10 additions and 0 deletions

View File

@@ -84,6 +84,7 @@ jobs:
TITLE: Manager
run: |
if [ ! -z "${{ secrets.BOT_TOKEN }}" ]; then
export VERSION=$(git describe --tags --always)
APK=$(find ./app/build/outputs/apk/release -name "*.apk")
pip3 install python-telegram-bot
python3 $GITHUB_WORKSPACE/scripts/ksubot.py $APK