From 3542db4cea3abeea2b41fafad284433edaaa2ab0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Adrien=20B=C3=A9raud?= <adrien.beraud@savoirfairelinux.com> Date: Tue, 11 Jul 2023 15:52:43 -0400 Subject: [PATCH] build: publish Android App Bundle (aab) instead of APK Change-Id: I54965635cc66e0fd10ffe99cd8d41a78a4ef35e6 --- compile.sh | 2 +- fastlane/Fastfile | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/compile.sh b/compile.sh index e7928273f..e0f41f2f8 100755 --- a/compile.sh +++ b/compile.sh @@ -54,7 +54,7 @@ if [[ $DAEMON_ONLY -eq 0 ]]; then echo "Building with Firebase support" fi if [[ $RELEASE -eq 1 ]]; then - cd $ANDROID_APP_DIR && ./gradlew $GRADLE_PROPERTIES assembleRelease + cd $ANDROID_APP_DIR && ./gradlew $GRADLE_PROPERTIES assembleRelease bundleRelease else cd $ANDROID_APP_DIR && ./gradlew $GRADLE_PROPERTIES assembleDebug fi diff --git a/fastlane/Fastfile b/fastlane/Fastfile index 674cd0cd2..9d12600b7 100644 --- a/fastlane/Fastfile +++ b/fastlane/Fastfile @@ -23,7 +23,7 @@ platform :android do desc "Submit a new Build to the Google Play Store" lane :playstore do |options| gradle( - task: "assemble", + task: "bundle", flavor: "withFirebase", build_type: "Release", print_command: false, @@ -46,7 +46,7 @@ platform :android do desc "Submit a new Beta Build to the Play Store Beta channel" lane :beta do |options| gradle( - task: "assemble", + task: "bundle", flavor: "withFirebase", build_type: "Release", print_command: false, @@ -69,7 +69,7 @@ platform :android do desc "Submit a new Build to the Play Store" lane :production do |options| gradle( - task: "assemble", + task: "bundle", flavor: "withFirebase", build_type: "Release", print_command: false, -- GitLab