Skip to content

Commit

Permalink
Merge branch 'only-build-devmole-and-stagemole-builds-when-api-overri…
Browse files Browse the repository at this point in the history
…de-supported-droid-539'
  • Loading branch information
albin-mullvad committed Nov 27, 2023
2 parents 3dabafa + 15f0266 commit 2e41c80
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions build-apk.sh
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@ echo ""

BUILD_TYPE="release"
GRADLE_BUILD_TYPE="release"
GRADLE_TASKS=(createOssProdReleaseDistApk createPlayProdReleaseDistApk createPlayDevmoleReleaseDistApk createPlayStagemoleReleaseDistApk)
BUNDLE_TASKS=(createPlayProdReleaseDistBundle createPlayDevmoleReleaseDistBundle createPlayStagemoleReleaseDistBundle)
GRADLE_TASKS=(createOssProdReleaseDistApk createPlayProdReleaseDistApk)
BUNDLE_TASKS=(createPlayProdReleaseDistBundle)
CARGO_ARGS="--release"
EXTRA_WGGO_ARGS=""
BUILD_BUNDLE="no"
Expand Down Expand Up @@ -58,6 +58,8 @@ if [[ "$BUILD_TYPE" == "release" && "$PRODUCT_VERSION" != *"-dev-"* ]]; then
CARGO_ARGS+=" --locked"
else
CARGO_ARGS+=" --features api-override"
GRADLE_TASKS+=(createPlayDevmoleReleaseDistApk createPlayStagemoleReleaseDistApk)
BUNDLE_TASKS+=(createPlayDevmoleReleaseDistBundle createPlayStagemoleReleaseDistBundle)
fi

pushd "$SCRIPT_DIR/android"
Expand Down

0 comments on commit 2e41c80

Please sign in to comment.