From b1b43ef000a3e166e478d4cd7ad3013bc7fab1f3 Mon Sep 17 00:00:00 2001 From: Elias Nahum Date: Tue, 8 Feb 2022 08:23:30 -0300 Subject: [PATCH] Fastlane upload_file_to_s3 to use all files that match the extension (#5941) --- fastlane/Fastfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fastlane/Fastfile b/fastlane/Fastfile index 98a593995..f2c258148 100644 --- a/fastlane/Fastfile +++ b/fastlane/Fastfile @@ -188,7 +188,7 @@ lane :upload_file_to_s3 do |options| files.push("#{build_folder_path}/#{options[:file]}") else extensions.each do |extension| - files.push(Dir.glob("#{build_folder_path}/#{extension}").select { |f| File.file? f}.first) + files.push(*Dir.glob("#{build_folder_path}/#{extension}").select { |f| File.file? f}) end end