Sha256: 9e9174bd35f0e570e665eb1a4622e87e0d17ec54b9983137ddf41b6be38f4b02

Contents?: true

Size: 1.61 KB

Versions: 37

Compression:

Stored size: 1.61 KB

Contents

module Fastlane
  module Actions
    class MatchAction < Action
      def self.run(params)
        require 'match'

        begin
          FastlaneCore::UpdateChecker.start_looking_for_update('match') unless Helper.is_test?

          params.load_configuration_file("Matchfile")
          Match::Runner.new.run(params)

          define_profile_type(params)
        ensure
          FastlaneCore::UpdateChecker.show_update_status('match', Match::VERSION)
        end
      end

      def self.define_profile_type(values)
        profile_type = "app-store"
        profile_type = "ad-hoc" if values[:type] == 'adhoc'
        profile_type = "development" if values[:type] == 'development'
        profile_type = "enterprise" if values[:type] == 'enterprise'

        UI.message("Setting Provisioning Profile type to '#{profile_type}'")

        Actions.lane_context[SharedValues::SIGH_PROFILE_TYPE] = profile_type
      end

      #####################################################
      # @!group Documentation
      #####################################################

      def self.description
        "Easily sync your certificates and profiles across your team using git"
      end

      def self.details
        "More details https://github.com/fastlane/fastlane/tree/master/match"
      end

      def self.available_options
        require 'match'
        Match::Options.available_options
      end

      def self.output
        []
      end

      def self.return_value
      end

      def self.authors
        ["KrauseFx"]
      end

      def self.is_supported?(platform)
        platform == :ios
      end
    end
  end
end

Version data entries

37 entries across 37 versions & 1 rubygems

Version Path
fastlane-1.104.0 lib/fastlane/actions/match.rb
fastlane-1.103.0 lib/fastlane/actions/match.rb
fastlane-1.102.0 lib/fastlane/actions/match.rb
fastlane-1.101.0 lib/fastlane/actions/match.rb
fastlane-1.100.0 lib/fastlane/actions/match.rb
fastlane-1.99.0 lib/fastlane/actions/match.rb
fastlane-1.98.0 lib/fastlane/actions/match.rb
fastlane-1.97.2 lib/fastlane/actions/match.rb
fastlane-1.97.1 lib/fastlane/actions/match.rb
fastlane-1.97.0 lib/fastlane/actions/match.rb
fastlane-1.96.0 lib/fastlane/actions/match.rb
fastlane-1.95.0 lib/fastlane/actions/match.rb
fastlane-1.94.1 lib/fastlane/actions/match.rb
fastlane-1.94.0 lib/fastlane/actions/match.rb
fastlane-1.93.1 lib/fastlane/actions/match.rb
fastlane-1.93.0 lib/fastlane/actions/match.rb
fastlane-1.92.0 lib/fastlane/actions/match.rb
fastlane-1.92.0.beta2 lib/fastlane/actions/match.rb
fastlane-1.92.0.beta1 lib/fastlane/actions/match.rb
fastlane-1.91.0 lib/fastlane/actions/match.rb