Class: Fastlane::Actions::MatchAction
Constant Summary
Fastlane::Action::AVAILABLE_CATEGORIES
Class Method Summary
collapse
action_name, author, lane_context, method_missing, other_action, sample_return_value, sh, step_text
Class Method Details
.authors ⇒ Object
54
55
56
|
# File 'lib/fastlane/actions/match.rb', line 54
def self.authors
["KrauseFx"]
end
|
.available_options ⇒ Object
42
43
44
45
|
# File 'lib/fastlane/actions/match.rb', line 42
def self.available_options
require 'match'
Match::Options.available_options
end
|
.category ⇒ Object
69
70
71
|
# File 'lib/fastlane/actions/match.rb', line 69
def self.category
:code_signing
end
|
.define_profile_type(values) ⇒ Object
19
20
21
22
23
24
25
26
27
28
|
# File 'lib/fastlane/actions/match.rb', line 19
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
|
.description ⇒ Object
34
35
36
|
# File 'lib/fastlane/actions/match.rb', line 34
def self.description
"Easily sync your certificates and profiles across your team using git"
end
|
.details ⇒ Object
38
39
40
|
# File 'lib/fastlane/actions/match.rb', line 38
def self.details
"More details https://github.com/fastlane/fastlane/tree/master/match"
end
|
.example_code ⇒ Object
62
63
64
65
66
67
|
# File 'lib/fastlane/actions/match.rb', line 62
def self.example_code
[
'match(type: "appstore", app_identifier: "tools.fastlane.app")',
'match(type: "development", readonly: true)'
]
end
|
.is_supported?(platform) ⇒ Boolean
58
59
60
|
# File 'lib/fastlane/actions/match.rb', line 58
def self.is_supported?(platform)
platform == :ios
end
|
.output ⇒ Object
47
48
49
|
# File 'lib/fastlane/actions/match.rb', line 47
def self.output
[]
end
|
.return_value ⇒ Object
51
52
|
# File 'lib/fastlane/actions/match.rb', line 51
def self.return_value
end
|
.run(params) ⇒ Object
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
# File 'lib/fastlane/actions/match.rb', line 4
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
|