From 61ff5ebaf833baf2bf9c466d7b5211787a384b7b Mon Sep 17 00:00:00 2001 From: Nicolas Pomepuy Date: Tue, 24 Sep 2024 11:41:00 +0200 Subject: [PATCH] Fastlane: upload both apk and bundles for internal release --- buildsystem/automation/fastlane/Fastfile | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/buildsystem/automation/fastlane/Fastfile b/buildsystem/automation/fastlane/Fastfile index 385b74107..628c42b4b 100644 --- a/buildsystem/automation/fastlane/Fastfile +++ b/buildsystem/automation/fastlane/Fastfile @@ -49,6 +49,11 @@ platform :android do } return files end + def getAabList() + files = Array.new + files.push(@apkPath+"app-release-signed.aab") + return files + end desc "Runs all the tests" lane :test do @@ -84,6 +89,7 @@ platform :android do lane :deploy_internal do |options| checkAPKFileExists options[:version], false + upload_to_play_store(skip_upload_metadata:true, skip_upload_changelogs:true, track: 'internal', skip_upload_images:true, skip_upload_screenshots:true, skip_upload_apk:false, release_status:"draft", aab_paths:getAabList()) upload_to_play_store(skip_upload_metadata:true, skip_upload_changelogs:true, track: 'internal', skip_upload_images:true, skip_upload_screenshots:true, skip_upload_apk:false, release_status:"draft", apk_paths:getFileList(options[:version])) slack(message: 'Successfully created a new internal draft for '+options[:version]) end