This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user