mirror of
https://codeberg.org/Freeyourgadget/Gadgetbridge
synced 2024-06-01 19:06:06 +02:00
CI filter: skip released nightly quietly
This commit is contained in:
parent
0e06bde741
commit
4e07852891
|
@ -15,14 +15,15 @@ steps:
|
||||||
echo $RELEASED_VERSION_CODE
|
echo $RELEASED_VERSION_CODE
|
||||||
if [ "$RELEASED_VERSION_CODE" = "$CURRENT_VERSION_CODE" ]
|
if [ "$RELEASED_VERSION_CODE" = "$CURRENT_VERSION_CODE" ]
|
||||||
then
|
then
|
||||||
echo "This version is already released, quit!"
|
echo "This version is already released, we quit!"
|
||||||
return 1
|
touch .do_not_build
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
||||||
build-apks:
|
build-apks:
|
||||||
image: codeberg.org/freeyourgadget/android-fdroid-tools:latest
|
image: codeberg.org/freeyourgadget/android-fdroid-tools:latest
|
||||||
commands:
|
commands:
|
||||||
|
- if [ -f .do_not_build ]; then return 0; fi
|
||||||
# build the apks
|
# build the apks
|
||||||
- echo "$${SIGNING_KEY}" | base64 -d > app/keystore.p12
|
- echo "$${SIGNING_KEY}" | base64 -d > app/keystore.p12
|
||||||
- ./gradlew assembleMainNightly -Dnightly_store_file="keystore.p12" -Dnightly_store_password="$${KEYSTOREPASS}" -Dnightly_key_alias="gadgetbridge" -Dnightly_key_password="$${KEYPASS}"
|
- ./gradlew assembleMainNightly -Dnightly_store_file="keystore.p12" -Dnightly_store_password="$${KEYSTOREPASS}" -Dnightly_key_alias="gadgetbridge" -Dnightly_key_password="$${KEYPASS}"
|
||||||
|
@ -33,6 +34,7 @@ steps:
|
||||||
pull-repo-config:
|
pull-repo-config:
|
||||||
image: codeberg.org/freeyourgadget/android-fdroid-tools:latest
|
image: codeberg.org/freeyourgadget/android-fdroid-tools:latest
|
||||||
commands:
|
commands:
|
||||||
|
- if [ -f .do_not_build ]; then return 0; fi
|
||||||
- cd ..
|
- cd ..
|
||||||
- pwd
|
- pwd
|
||||||
- mkdir repoconfig
|
- mkdir repoconfig
|
||||||
|
@ -45,6 +47,7 @@ steps:
|
||||||
pull-pages:
|
pull-pages:
|
||||||
image: codeberg.org/freeyourgadget/android-fdroid-tools:latest
|
image: codeberg.org/freeyourgadget/android-fdroid-tools:latest
|
||||||
commands:
|
commands:
|
||||||
|
- if [ -f .do_not_build ]; then return 0; fi
|
||||||
# prepare the pages repo, so fdroidclient can push files into it later
|
# prepare the pages repo, so fdroidclient can push files into it later
|
||||||
- cd ..
|
- cd ..
|
||||||
- pwd
|
- pwd
|
||||||
|
@ -63,6 +66,7 @@ steps:
|
||||||
update-fdroid-data:
|
update-fdroid-data:
|
||||||
image: codeberg.org/freeyourgadget/android-fdroid-tools:latest
|
image: codeberg.org/freeyourgadget/android-fdroid-tools:latest
|
||||||
commands:
|
commands:
|
||||||
|
- if [ -f .do_not_build ]; then return 0; fi
|
||||||
- pwd
|
- pwd
|
||||||
- ../repoconfig/fdroid-repo-config/repoconfig/prepare_changelog.sh
|
- ../repoconfig/fdroid-repo-config/repoconfig/prepare_changelog.sh
|
||||||
- cd ../repoconfig/fdroid-repo-config/repoconfig
|
- cd ../repoconfig/fdroid-repo-config/repoconfig
|
||||||
|
@ -82,6 +86,7 @@ steps:
|
||||||
push-pages-update-repo:
|
push-pages-update-repo:
|
||||||
image: codeberg.org/freeyourgadget/android-fdroid-tools:latest
|
image: codeberg.org/freeyourgadget/android-fdroid-tools:latest
|
||||||
commands:
|
commands:
|
||||||
|
- if [ -f .do_not_build ]; then return 0; fi
|
||||||
- cd ../pages/pages/
|
- cd ../pages/pages/
|
||||||
- git add -A
|
- git add -A
|
||||||
- git status
|
- git status
|
||||||
|
|
Loading…
Reference in New Issue
Block a user