From 96949775043b51572ca87775c0d6d1d2e644bf04 Mon Sep 17 00:00:00 2001 From: Manoj Malik Date: Wed, 9 Feb 2022 22:25:54 +0530 Subject: [PATCH] Fixed a bug and added support for release status while uploading build to Google Play store (#5947) --- fastlane/Fastfile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/fastlane/Fastfile b/fastlane/Fastfile index f2c258148..ae0938291 100644 --- a/fastlane/Fastfile +++ b/fastlane/Fastfile @@ -933,6 +933,7 @@ def submit_to_testflight(ipa_path) end def submit_to_google_play(file_path) + filenames = [] if(file_path.include?("aab")) aab_filename = Dir.glob(file_path).select { |f| File.file? f}.first unless ENV['SUPPLY_JSON_KEY'].nil? || ENV['SUPPLY_JSON_KEY'].empty? @@ -943,6 +944,7 @@ def submit_to_google_play(file_path) skip_upload_apk: true ) end + filenames.push(aab_filename) else apks = Dir.glob(file_path).select { |f| File.file? f} filenames = apks.map {|f| File.basename(f)}