From f2d37f2647c37a174d147a209a906488871590cd Mon Sep 17 00:00:00 2001 From: Vishesh Handa Date: Mon, 1 Jun 2020 23:30:31 +0200 Subject: [PATCH] CI: Do not build the APK Only build the AAB, since it's all we're uploading. Earlier the apk was still useful as I was downloading it for manual testing, but now all testing is done by downloading the release from the app store in a Closed Testing List. --- .circleci/config.yml | 3 --- scripts/build.sh | 3 +-- 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index e60ef08a..3e85d80e 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -32,9 +32,6 @@ jobs: - store_artifacts: path: build/app/outputs/bundle/prodRelease/app.aab destination: gitjournal.aab - - store_artifacts: - path: build/app/outputs/apk/prod/release/app-prod-release.apk - destination: gitjournal.apk - run: name: Upload Crashlytics Symbols command: ./scripts/android_crashlytics.sh diff --git a/scripts/build.sh b/scripts/build.sh index 07418d57..e4c3fc7b 100755 --- a/scripts/build.sh +++ b/scripts/build.sh @@ -1,9 +1,8 @@ #!/usr/bin/env bash -set -eu +set -eux BUILD_NUM=`git rev-list --count HEAD` echo "Build Number: $BUILD_NUM" flutter build appbundle --flavor prod --build-number=$BUILD_NUM --verbose -flutter build apk --flavor prod --build-number=$BUILD_NUM --verbose