Update .gitlab-ci.yml

This commit is contained in:
Christian Pauly 2020-02-11 06:58:50 +00:00
parent e2afce20ba
commit 1e64512222

View File

@ -33,7 +33,7 @@ build_web:
- build/web/
build_android_fdroid:
build_android_apk:
stage: coverage
script:
- cd android && echo $FDROID_KEY | base64 --decode --ignore-garbage > key.jks && cd ..
@ -50,6 +50,24 @@ build_android_fdroid:
only:
- master
build_android_appbundle:
stage: coverage
script:
- cd android && echo $FDROID_KEY | base64 --decode --ignore-garbage > key.jks && cd ..
- cd android && echo "storePassword=${FDROID_KEY_PASS}" >> key.properties && cd ..
- cd android && echo "keyPassword=${FDROID_KEY_PASS}" >> key.properties && cd ..
- cd android && echo "keyAlias=key" >> key.properties && cd ..
- cd android && echo "storeFile=../key.jks" >> key.properties && cd ..
- cd android/app && echo $GOOGLE_SERVICES >> google-services.json && cd ../..
- flutter build appbundle --target-platform android-arm,android-arm64,android-x64
artifacts:
when: on_success
paths:
- build/app/outputs/bundle/release/app-release.aab
only:
- master
pages:
stage: publish
image: ruby:2.3