mirror of
https://github.com/GitJournal/GitJournal.git
synced 2025-06-29 10:17:16 +08:00
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:
@ -32,9 +32,6 @@ jobs:
|
|||||||
- store_artifacts:
|
- store_artifacts:
|
||||||
path: build/app/outputs/bundle/prodRelease/app.aab
|
path: build/app/outputs/bundle/prodRelease/app.aab
|
||||||
destination: gitjournal.aab
|
destination: gitjournal.aab
|
||||||
- store_artifacts:
|
|
||||||
path: build/app/outputs/apk/prod/release/app-prod-release.apk
|
|
||||||
destination: gitjournal.apk
|
|
||||||
- run:
|
- run:
|
||||||
name: Upload Crashlytics Symbols
|
name: Upload Crashlytics Symbols
|
||||||
command: ./scripts/android_crashlytics.sh
|
command: ./scripts/android_crashlytics.sh
|
||||||
|
@ -1,9 +1,8 @@
|
|||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
set -eu
|
set -eux
|
||||||
|
|
||||||
BUILD_NUM=`git rev-list --count HEAD`
|
BUILD_NUM=`git rev-list --count HEAD`
|
||||||
echo "Build Number: $BUILD_NUM"
|
echo "Build Number: $BUILD_NUM"
|
||||||
|
|
||||||
flutter build appbundle --flavor prod --build-number=$BUILD_NUM --verbose
|
flutter build appbundle --flavor prod --build-number=$BUILD_NUM --verbose
|
||||||
flutter build apk --flavor prod --build-number=$BUILD_NUM --verbose
|
|
||||||
|
Reference in New Issue
Block a user