1
0
mirror of https://codeberg.org/Freeyourgadget/Gadgetbridge synced 2024-09-27 08:47:03 +02:00
This commit is contained in:
vanous 2023-08-13 15:46:39 +02:00
parent 3716d99788
commit a9edd07048

View File

@ -8,6 +8,7 @@ steps:
check-if-released:
image: codeberg.org/freeyourgadget/android-fdroid-tools:latest
commands: |
echo "commit sha" ${CI_COMMIT_SHA}
RELEASED_VERSION_CODE=$(curl https://freeyourgadget.codeberg.page/fdroid/repo/index-v1.json | jq '.packages."nodomain.freeyourgadget.gadgetbridge.nightly"[0].versionCode')
CURRENT_VERSION_CODE=$(git rev-list HEAD --count)
@ -117,3 +118,7 @@ steps:
secrets: [ commit_token ]
when:
event: cron
# evaluate:
# '$PREV_SHA' != 'CI_COMMIT_SHA'