diff options
author | cyBerta <cyberta@riseup.net> | 2024-03-03 14:54:06 +0100 |
---|---|---|
committer | kwadronaut <kwadronaut@autistici.org> | 2024-04-18 09:42:28 +0000 |
commit | 9b2ab9339916a6b3168392447a5b4284bc3c9be3 (patch) | |
tree | 641fbce0c92718dfd7fe3dff67253543ea4b1978 | |
parent | b07ae822e5c60a29fc86f22e5dbd1bf7d181523b (diff) |
add another build step to build beta releases: aab's for gplay, and a fat apk that can be installed next to a stable release for the download from the website
-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 |