diff --git a/ci.sh b/ci.sh index 2c382be6..6c20c65a 100755 --- a/ci.sh +++ b/ci.sh @@ -39,7 +39,7 @@ sign_apk_standalone () { sign_apk_fdroid () { 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 update }