Fix tag check
Some checks are pending
Android Release / release (push) Has started running

This commit is contained in:
2026-01-18 01:08:55 +03:00
parent 5137be71c7
commit 7b9aed8842

View File

@@ -32,6 +32,7 @@ jobs:
id: stop id: stop
run: | run: |
VERSION=$(cat version.txt) VERSION=$(cat version.txt)
echo "version=$VERSION" >> $GITHUB_OUTPUT
if git show-ref --tags --quiet --verify "refs/tags/$VERSION"; then if git show-ref --tags --quiet --verify "refs/tags/$VERSION"; then
echo "Version $VERSION already released, stopping job." echo "Version $VERSION already released, stopping job."
echo "continue=false" >> $GITHUB_OUTPUT echo "continue=false" >> $GITHUB_OUTPUT
@@ -96,9 +97,9 @@ jobs:
server_url: https://git.daemonlord.ru server_url: https://git.daemonlord.ru
repository: ${{ gitea.repository }} repository: ${{ gitea.repository }}
token: ${{ secrets.API_TOKEN }} token: ${{ secrets.API_TOKEN }}
tag_name: $(cat version.txt) tag_name: ${{ steps.stop.outputs.version }}
name: Release $(cat version.txt) name: Release ${{ steps.stop.outputs.version }}
body: | body: |
Android release $(cat version.txt) Android release ${{ steps.stop.outputs.version }}
files: | files: |
app/build/outputs/apk/release/*.apk app/build/outputs/apk/release/*.apk