Fastlane upload_file_to_s3 to use all files that match the extension (#5941)

This commit is contained in:
Elias Nahum 2022-02-08 08:23:30 -03:00 committed by GitHub
parent f2db547d78
commit b1b43ef000
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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