Skip to content

Commit

Permalink
appcenter script fix
Browse files Browse the repository at this point in the history
  • Loading branch information
RomeroYang committed Jul 4, 2020
1 parent 5422d14 commit 08b70c6
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion android/app/appcenter-post-clone.sh
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,10 @@ sudo installer -store -pkg "$HOME/Downloads/node-installer.pkg" -target "/"
cd ./lib/js_service_kusama && yarn install && yarn run build && cd ../..
cd ./lib/js_service_acala && yarn install && yarn run build && cd ../..

flutter build apk --release
flutter build appbundle --release

# copy the APK where AppCenter will find it
mv build/app/outputs/bundle/release/app-release.aab $_
mkdir -p android/app/build/outputs/apk/; mv build/app/outputs/apk/release/app-release.apk $_
# copy the AAB where AppCenter will find it
mkdir -p android/app/build/outputs/bundle/; mv build/app/outputs/bundle/release/app-release.aab $_

0 comments on commit 08b70c6

Please sign in to comment.