diff --git a/receivers/android/.gitlab-ci.yml b/receivers/android/.gitlab-ci.yml index 8c82c6a..b826760 100644 --- a/receivers/android/.gitlab-ci.yml +++ b/receivers/android/.gitlab-ci.yml @@ -6,8 +6,6 @@ buildAndDeployApk: - 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/release/app-release.apk /var/www/html/fastcast-release.apk - - echo $ANDROID_VERSION_CODE > /var/www/html/fastcast-version.txt - echo $ANDROID_VERSION_CODE > /var/www/html/fcast-version.txt when: manual