CI: Store the AAB as an artifact

Instead of the apk which is no longer generated
This commit is contained in:
Vishesh Handa
2019-07-28 03:17:16 +02:00
parent 0bfa839b88
commit 90a6df2239
2 changed files with 3 additions and 3 deletions

View File

@ -27,8 +27,8 @@ jobs:
name: Build
command: ./scripts/build.sh
- store_artifacts:
path: build/app/outputs/apk/release/app-release.apk
destination: gitjournal.apk
path: build/app/outputs/bundle/release/app.aab
destination: gitjournal.aab
- run:
name: Upload Crashlytics Symbols
command: ./scripts/android_crashlytics.sh

View File

@ -6,7 +6,7 @@ BUILD_NUM=`curl -s 'https://circleci.com/api/v1.1/project/github/GitJournal/GitJ
echo "CircleCI Buld Number: $BUILD_NUM"
URL=`curl -s https://circleci.com/api/v1.1/project/github/GitJournal/GitJournal/$BUILD_NUM/artifacts | jq .[0] | jq -r .url`
APK_LOCATION="/tmp/gitjournal.apk"
APK_LOCATION="/tmp/gitjournal.aab"
echo "Downloading $URL"
curl "$URL" -o "$APK_LOCATION"