diff options
-rw-r--r-- | .gitlab-ci.yml | 17 | ||||
-rwxr-xr-x | scripts/prepareForDistribution.sh | 2 |
2 files changed, 18 insertions, 1 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 8a0b48b0..ec7efdb3 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -166,6 +166,23 @@ build_double_release: expire_in: 1 week when: manual +build_double_beta_releases: + image: "0xacab.org:4567/leap/bitmask_android/android-ndk:latest" + stage: build + script: + - ./scripts/prepareForDistribution.sh build -allflavors -apk fat -no-tag -beta >> webBetaRelease.log 2>&1 + - ./scripts/prepareForDistribution.sh build -allflavors -aab -no-tag >> gplayBetaRelease.log 2>&1 + artifacts: + paths: + - app/build/outputs/ + - currentReleases/ + - webBetaRelease.log + - gplayBetaRelease.log + when: always + expire_in: 1 week + when: manual + + build_release: image: "0xacab.org:4567/leap/bitmask_android/android-ndk:latest" stage: build diff --git a/scripts/prepareForDistribution.sh b/scripts/prepareForDistribution.sh index 301ce1a3..54d0b555 100755 --- a/scripts/prepareForDistribution.sh +++ b/scripts/prepareForDistribution.sh @@ -334,7 +334,7 @@ if [[ ${DO_BUILD} == true ]]; then if [[ ! -d $RELEASES_FILE_DIR ]]; then mkdir $RELEASES_FILE_DIR fi - rm -rf $RELEASES_FILE_DIR/* + # rm -rf $RELEASES_FILE_DIR/* if [[ ${BETA} == true ]]; then if [[ -n ${BUILD_APK} ]]; then |