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