Sha256: 33eedcbe58141b6abd98a5bc93747b1213a1a140a083979d2655f7e9cb485057
Contents?: true
Size: 1.51 KB
Versions: 1
Compression:
Stored size: 1.51 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(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) Actions.lane_context[SharedValues::IPA_OUTPUT_PATH] = File.expand_path(ENV['DELIVER_IPA_PATH']) # deliver will store it in the environment 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.7.0 | lib/fastlane/actions/deliver.rb |