Sha256: a7804d7a845d477d6b0dce83202976fafa3d93abe6b1acb5ad9880ecfb1d65fc
Contents?: true
Size: 1.63 KB
Versions: 1
Compression:
Stored size: 1.63 KB
Contents
module Fastlane module Actions module SharedValues end class DeliverAction < Action def self.run(params) require 'deliver' FastlaneCore::UpdateChecker.start_looking_for_update('deliver') begin ENV['DELIVER_SCREENSHOTS_PATH'] = Actions.lane_context[SharedValues::SNAPSHOT_SCREENSHOTS_PATH] force = params.include?(:force) beta = params.include?(:beta) skip_deploy = params.include?(:skip_deploy) Dir.chdir(ENV["DELIVERFILE_PATH"] || FastlaneFolder.path || Dir.pwd) do # This should be executed in the fastlane folder Deliver::Deliverer.new(nil, force: force, is_beta_ipa: beta, skip_deploy: skip_deploy) if ENV['DELIVER_IPA_PATH'] # since IPA upload is optional Actions.lane_context[SharedValues::IPA_OUTPUT_PATH] = File.expand_path(ENV['DELIVER_IPA_PATH']) # deliver will store it in the environment end end ensure FastlaneCore::UpdateChecker.show_update_status('deliver', Deliver::VERSION) end end def self.description "Uses deliver to upload new app metadata and builds to iTunes Connect" end def self.available_options [ ['force', 'Set to true to skip PDF verification'], ['beta', 'Upload a new version to TestFlight'], ['skip_deploy', 'Skip the submission of the app - it will only be uploaded'], ] end def self.author "KrauseFx" end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
fastlane-0.8.1 | lib/fastlane/actions/deliver.rb |