mirror of
https://git.selfprivacy.org/kherel/selfprivacy.org.app.git
synced 2025-01-08 00:51:20 +00:00
build release nightly builds, not debug
This commit is contained in:
parent
97c459054e
commit
02b7f9fc29
4
ci.py
4
ci.py
|
@ -127,7 +127,7 @@ def sign_apk_fdroid_nightly():
|
|||
podman_offline(f"{CONTAINER_HOME}/fdroid", f"rm -rf {CONTAINER_HOME}/fdroid/unsigned/*")
|
||||
podman_offline(f"{CONTAINER_HOME}/fdroid",
|
||||
f"test ! -f {CONTAINER_HOME}/fdroid/repo/{APP_NAME_NIGHTLY}_{APP_BUILD_ID_NIGHTLY}.apk",
|
||||
"&& cp ../src/build/app/outputs/flutter-apk/app-nightly-debug.apk",
|
||||
"&& cp ../src/build/app/outputs/flutter-apk/app-nightly-release.apk",
|
||||
f"unsigned/{APP_NAME_NIGHTLY}_{APP_BUILD_ID_NIGHTLY}.apk || echo exist")
|
||||
podman_offline(f"{CONTAINER_HOME}/fdroid", "fdroid publish")
|
||||
podman_offline(f"{CONTAINER_HOME}/fdroid", "fdroid update")
|
||||
|
@ -166,7 +166,7 @@ def ci_build_linux():
|
|||
|
||||
def ci_build_apk():
|
||||
podman_online(f"{CONTAINER_HOME}/src", "chown -R $(id -u):$(id -g) /tmp/gradle /tmp/flutter_pub_cache",
|
||||
"&& flutter build apk --flavor nightly --debug")
|
||||
"&& flutter build apk --flavor nightly")
|
||||
|
||||
def ci_run_tests():
|
||||
podman_online(f"{CONTAINER_HOME}/src", "flutter test",
|
||||
|
|
Loading…
Reference in a new issue