update ci to use owner-repo name as title and apk name
Auto Tag on Version Change / check-version (push) Successful in 3s

This commit is contained in:
2026-09-25 05:25:09 +05:00
parent e7f7590654
commit 7d6c192a63
+3 -3
View File
@@ -27,7 +27,7 @@ jobs:
- name: Rename APK
run: |
APP_NAME="${{ gitea.repository }}"
APP_NAME="${APP_NAME##*/}"
APP_NAME="${APP_NAME//\//-}"
TAG="${{ gitea.ref_name }}"
find .build/release/release/ -maxdepth 1 -name "*.apk" | head -1 | xargs -I{} mv {} ".build/release/release/${APP_NAME}-${TAG}.apk"
@@ -53,7 +53,7 @@ jobs:
GITEA_TOKEN: ${{ secrets.PAT_GITEA }}
run: |
APP_NAME="${{ gitea.repository }}"
APP_NAME="${APP_NAME##*/}"
APP_NAME="${APP_NAME//\//-}"
TAG="${{ gitea.ref_name }}"
TITLE="${APP_NAME} ${TAG}"
NOTES_FILE="release_notes.md"
@@ -101,7 +101,7 @@ jobs:
fi
APP_NAME="${{ gitea.repository }}"
APP_NAME="${APP_NAME##*/}"
APP_NAME="${APP_NAME//\//-}"
TAG="${{ gitea.ref_name }}"
ASSET_PATH=".build/release/release/${APP_NAME}-${TAG}.apk"
CAPTION="${APP_NAME} ${TAG}"