From a833a936e2db6d8e3680c4c066ba0eea3eaa6919 Mon Sep 17 00:00:00 2001 From: Mattermost Build Date: Tue, 8 Feb 2022 12:31:29 +0100 Subject: [PATCH] Fastlane upload_file_to_s3 to use all files that match the extension (#5941) (#5942) (cherry picked from commit b1b43ef000a3e166e478d4cd7ad3013bc7fab1f3) Co-authored-by: Elias Nahum --- fastlane/Fastfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fastlane/Fastfile b/fastlane/Fastfile index 56ee9d43c..175ab1f52 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