Sha256: 66b3cc491c0189d674e01655e00aa1850a40f86d665843ed1d208c8923d759be

Contents?: true

Size: 860 Bytes

Versions: 16

Compression:

Stored size: 860 Bytes

Contents

module Fastlane
  module Actions
    module SharedValues
    end

    class DeliverAction
      def self.run(params)
        require 'deliver'

        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] = ENV['DELIVER_IPA_PATH'] # deliver will store it in the environment
        end
      end
    end
  end
end

Version data entries

16 entries across 16 versions & 1 rubygems

Version Path
fastlane-0.4.2 lib/fastlane/actions/deliver.rb
fastlane-0.4.1 lib/fastlane/actions/deliver.rb
fastlane-0.4.0 lib/fastlane/actions/deliver.rb
fastlane-0.3.0 lib/fastlane/actions/deliver.rb
fastlane-0.2.1 lib/fastlane/actions/deliver.rb
fastlane-0.2.0 lib/fastlane/actions/deliver.rb
fastlane-0.1.19 lib/fastlane/actions/deliver.rb
fastlane-0.1.18 lib/fastlane/actions/deliver.rb
fastlane-0.1.17 lib/fastlane/actions/deliver.rb
fastlane-0.1.16 lib/fastlane/actions/deliver.rb
fastlane-0.1.15 lib/fastlane/actions/deliver.rb
fastlane-0.1.14 lib/fastlane/actions/deliver.rb
fastlane-0.1.13 lib/fastlane/actions/deliver.rb
fastlane-0.1.12 lib/fastlane/actions/deliver.rb
fastlane-0.1.10 lib/fastlane/actions/deliver.rb
fastlane-0.1.9 lib/fastlane/actions/deliver.rb