From 56e7bb9693c06a710b8f3a2f1725bcc833e45a94 Mon Sep 17 00:00:00 2001 From: Koen Date: Mon, 26 Jun 2023 17:20:55 +0200 Subject: [PATCH] Fixed Android CI/CD. --- receivers/android/.gitlab-ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/receivers/android/.gitlab-ci.yml b/receivers/android/.gitlab-ci.yml index b826760..6bfd256 100644 --- a/receivers/android/.gitlab-ci.yml +++ b/receivers/android/.gitlab-ci.yml @@ -5,7 +5,7 @@ buildAndDeployApk: script: - if [ -z "$ANDROID_VERSION_NAME" ] || [ -z "$ANDROID_VERSION_CODE" ]; then echo "Version name or code not specified. Skipping build."; exit 0; fi - ./gradlew --stacktrace assembleRelease -PversionName=$ANDROID_VERSION_NAME -PversionCode=$ANDROID_VERSION_CODE - - cp ./app/build/outputs/apk/release/app-release.apk /var/www/html/fcast-release.apk + - cp ./app/build/outputs/apk/defaultFlavor/release/app-defaultFlavor-release.apk /var/www/html/fcast-release.apk - echo $ANDROID_VERSION_CODE > /var/www/html/fcast-version.txt when: manual