Skip to content
Snippets Groups Projects
Commit 43b93337 authored by Andri Joos's avatar Andri Joos :blush:
Browse files

make android platforms configurable

parent 25055a1d
No related branches found
No related tags found
No related merge requests found
......@@ -17,6 +17,7 @@ variables:
SINGING_KEYSTORE_FILE: android/signing-keystore.jks
FLUTTER_ANDROID_IMAGE: andrijoos/flutter:3.24.5-android
BUNDLETOOL_IMAGE: andrijoos/bundletool
ANDROID_PLATFORMS: android-arm,android-arm64,android-x64
android:
stage: build
......@@ -36,9 +37,9 @@ android:
- echo "keyAlias=$SIGNING_KEY_ALIAS" >> $SIGNING_PROPERTIES_FILE
- echo "storeFile=$SIGNING_STORE_FILE" >> $SIGNING_PROPERTIES_FILE
- echo $SIGNING_KEYSTORE | base64 -d > $SINGING_KEYSTORE_FILE
- flutter build appbundle --release --target-platform android-arm,android-arm64,android-x64 --build-name ${APPLICATION_VERSION} --build-number ${APPLICATION_BUILD_NUMBER}
- flutter build appbundle --release --target-platform ${ANDROID_PLATFORMS} --build-name ${APPLICATION_VERSION} --build-number ${APPLICATION_BUILD_NUMBER}
after_script:
- mv ${APP_DIRECTORY}/build/app/outputs/bundle/release/app-release.aab ./{APP_NAME}_${APPLICATION_VERSION}.aab
- mv ${APP_DIRECTORY}/build/app/outputs/bundle/release/app-release.aab ./${APP_NAME}_${APPLICATION_VERSION}.aab
.build_universal_apk:
stage: build
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment