Method: Fastlane::Actions::AppaloosaAction.get_screenshots_links

Defined in:
fastlane/lib/fastlane/actions/appaloosa.rb


81
82
83
84
85
86
87
# File 'fastlane/lib/fastlane/actions/appaloosa.rb', line 81

def self.get_screenshots_links(api_key, store_id, screenshots_path, locale, device)
  screenshots = get_screenshots(screenshots_path, locale, device)
  return if screenshots.nil?
  uploaded = upload_screenshots(screenshots, api_key, store_id)
  links = get_uploaded_links(uploaded, api_key, store_id)
  links.kind_of?(Array) ? links.flatten : nil
end