Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
C
ci-templates
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Package Registry
Operate
Terraform modules
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Andri Joos
ci-templates
Commits
43b93337
Commit
43b93337
authored
4 months ago
by
Andri Joos
Browse files
Options
Downloads
Patches
Plain Diff
make android platforms configurable
parent
25055a1d
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
flutter/flutter-android.gitlab-ci.yml
+3
-2
3 additions, 2 deletions
flutter/flutter-android.gitlab-ci.yml
with
3 additions
and
2 deletions
flutter/flutter-android.gitlab-ci.yml
+
3
−
2
View file @
43b93337
...
...
@@ -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
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment