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.
This commit is contained in:
Vishesh Handa
2020-06-01 23:30:31 +02:00
parent 47e8ac8b08
commit f2d37f2647
2 changed files with 1 additions and 5 deletions

View File

@ -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

View File

@ -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