Method: Fastlane::Actions::AppaloosaAction.run

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

.run(params) ⇒ Object



5
6
7
8
9
10
11
12
13
14
# File 'fastlane/lib/fastlane/actions/appaloosa.rb', line 5

def self.run(params)
  api_key = params[:api_token]
  store_id = params[:store_id]
  binary = params[:binary]
  remove_extra_screenshots_file(params[:screenshots])
  binary_url = get_binary_link(binary, api_key, store_id, params[:group_ids])
  return if binary_url.nil?
  screenshots_url = get_screenshots_links(api_key, store_id, params[:screenshots], params[:locale], params[:device])
  upload_on_appaloosa(api_key, store_id, binary_url, screenshots_url, params[:group_ids], params[:description], params[:changelog])
end