update ci to use owner-repo name as title and apk name
Auto Tag on Version Change / check-version (push) Successful in 3s
Auto Tag on Version Change / check-version (push) Successful in 3s
This commit is contained in:
@@ -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}"
|
||||
|
||||
Reference in New Issue
Block a user