new podman-based pipeline

This commit is contained in:
Alya Sirko 2022-09-09 22:20:02 +03:00
parent a1bf7b1662
commit 966c631727

2
ci.sh
View file

@ -39,7 +39,7 @@ sign_apk_standalone () {
sign_apk_fdroid () { sign_apk_fdroid () {
podman_offline "/var/lib/builder/fdroid" rm -rf unsigned/* podman_offline "/var/lib/builder/fdroid" rm -rf unsigned/*
podman_offline "/var/lib/builder/fdroid" bash -c "if [[ ! -f repo/"$APP_NAME"_"$APP_BUILD_ID".apk ]]; then cp ../src/build/app/outputs/flutter-apk/app-release.apk unsigned/"$APP_NAME"_"$APP_BUILD_ID".apk; fi" podman_offline "/var/lib/builder/fdroid" test ! -f repo/"$APP_NAME"_"$APP_BUILD_ID".apk && cp ../src/build/app/outputs/flutter-apk/app-release.apk unsigned/"$APP_NAME"_"$APP_BUILD_ID".apk
podman_offline "/var/lib/builder/fdroid" fdroid publish podman_offline "/var/lib/builder/fdroid" fdroid publish
podman_offline "/var/lib/builder/fdroid" fdroid update podman_offline "/var/lib/builder/fdroid" fdroid update
} }