From 300acbd7877037cd9ab5add2068e1328a1ac670a Mon Sep 17 00:00:00 2001 From: Vishesh Handa Date: Wed, 2 Oct 2019 07:14:18 +0200 Subject: [PATCH] CI: Build the APK as well as the AAB The APK is useful for debugging, as one cannot easily install the AAB from the command line. --- .circleci/config.yml | 3 +++ scripts/build.sh | 1 + 2 files changed, 4 insertions(+) diff --git a/.circleci/config.yml b/.circleci/config.yml index f8222f53..15600a98 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -29,6 +29,9 @@ jobs: - store_artifacts: path: build/app/outputs/bundle/release/app.aab destination: gitjournal.aab + - store_artifacts: + path: build/app/outputs/bundle/release/app.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 283f9045..4b7a335d 100755 --- a/scripts/build.sh +++ b/scripts/build.sh @@ -6,3 +6,4 @@ BUILD_NUM=`git rev-list --count HEAD` echo "Build Number: $BUILD_NUM" flutter build appbundle --build-number=$BUILD_NUM --verbose +flutter build apk --build-number=$BUILD_NUM --verbose