deliver/lib/deliver/download_screenshots.rb in fastlane-2.78.0.beta.20180121010003 vs deliver/lib/deliver/download_screenshots.rb in fastlane-2.78.0.beta.20180122010003
- old
+ new
@@ -10,10 +10,10 @@
UI.error(ex)
UI.error("Couldn't download already existing screenshots from iTunes Connect.")
end
def self.download(options, folder_path)
- v = options[:app].latest_version
+ v = options[:use_live_version] ? options[:app].live_version : options[:app].latest_version
v.screenshots.each do |language, screenshots|
screenshots.each do |screenshot|
file_name = [screenshot.sort_order, screenshot.device_type, screenshot.sort_order].join("_")
original_file_extension = File.basename(screenshot.original_file_name)