fastlane 2.128.1 → 2.129.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/README.md +74 -74
- data/deliver/lib/deliver/submit_for_review.rb +1 -1
- data/fastlane/lib/fastlane/actions/appetize_viewing_url_generator.rb +1 -1
- data/fastlane/lib/fastlane/actions/automatic_code_signing.rb +1 -1
- data/fastlane/lib/fastlane/actions/commit_github_file.rb +1 -1
- data/fastlane/lib/fastlane/actions/get_version_number.rb +18 -2
- data/fastlane/lib/fastlane/actions/github_api.rb +1 -1
- data/fastlane/lib/fastlane/actions/gradle.rb +26 -7
- data/fastlane/lib/fastlane/actions/import_from_git.rb +1 -1
- data/fastlane/lib/fastlane/actions/pod_push.rb +20 -10
- data/fastlane/lib/fastlane/actions/puts.rb +1 -1
- data/fastlane/lib/fastlane/actions/sonar.rb +18 -0
- data/fastlane/lib/fastlane/actions/update_fastlane.rb +1 -1
- data/fastlane/lib/fastlane/commands_generator.rb +1 -1
- data/fastlane/lib/fastlane/helper/adb_helper.rb +5 -0
- data/fastlane/lib/fastlane/helper/crashlytics_helper.rb +11 -5
- data/fastlane/lib/fastlane/swift_fastlane_api_generator.rb +4 -0
- data/fastlane/lib/fastlane/swift_fastlane_function.rb +11 -7
- data/fastlane/lib/fastlane/version.rb +1 -1
- data/fastlane/swift/Deliverfile.swift +1 -1
- data/fastlane/swift/Fastlane.swift +290 -284
- data/fastlane/swift/Gymfile.swift +1 -1
- data/fastlane/swift/GymfileProtocol.swift +3 -3
- data/fastlane/swift/Matchfile.swift +1 -1
- data/fastlane/swift/Precheckfile.swift +1 -1
- data/fastlane/swift/Scanfile.swift +1 -1
- data/fastlane/swift/ScanfileProtocol.swift +3 -3
- data/fastlane/swift/Screengrabfile.swift +1 -1
- data/fastlane/swift/Snapshotfile.swift +1 -1
- data/fastlane_core/lib/fastlane_core/analytics/analytics_event_builder.rb +1 -1
- data/fastlane_core/lib/fastlane_core/configuration/config_item.rb +1 -1
- data/frameit/lib/frameit/editor.rb +1 -1
- data/gym/lib/gym/options.rb +1 -1
- data/match/lib/match/nuke.rb +1 -1
- data/match/lib/match/runner.rb +2 -2
- data/match/lib/match/storage/interface.rb +1 -1
- data/scan/lib/scan/options.rb +1 -1
- data/scan/lib/scan/runner.rb +1 -1
- data/snapshot/lib/assets/SnapshotHelper.swift +3 -3
- data/spaceship/lib/spaceship/connect_api/models/beta_tester_metric.rb +1 -0
- data/spaceship/lib/spaceship/du/du_client.rb +4 -0
- data/spaceship/lib/spaceship/portal/certificate.rb +15 -1
- data/spaceship/lib/spaceship/spaceauth_runner.rb +1 -1
- data/spaceship/lib/spaceship/test_flight/tester.rb +1 -1
- data/spaceship/lib/spaceship/tunes/build_details.rb +160 -18
- data/spaceship/lib/spaceship/tunes/display_family.rb +3 -3
- data/spaceship/lib/spaceship/tunes/iap.rb +2 -0
- data/spaceship/lib/spaceship/tunes/iap_detail.rb +17 -0
- data/spaceship/lib/spaceship/tunes/tunes_client.rb +37 -1
- data/supply/lib/supply/client.rb +1 -1
- metadata +17 -18
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: 6124176bffd29a27249c10db5e464422be774d8a0f809e77f10f5f95fb9957f2
|
4
|
+
data.tar.gz: c82037b4369ce615407225bd03d7a9aa8cb27c5128c60ddc9f5048577e6783fe
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 58f7dfa0f132f6f82da3311798b41c07cc2fd0af94e7bad00d7f3318c2d6222eb3da810f6f6100ec1d8e7bd8f578faf4b94dc2d8d24f480864453fca7f59b7e7
|
7
|
+
data.tar.gz: 7efac8190498b5187a85e67ad8572faa1ea13f830695e57b970fa7e5fe161c67a8348ac7e6fb56817956c4c143bd37fabcb048c919cd72308d0c86c8d87a7e6a
|
data/README.md
CHANGED
@@ -34,17 +34,11 @@ If the above doesn't help, please [submit an issue](https://github.com/fastlane/
|
|
34
34
|
<!-- This table is regenerated and resorted on each release -->
|
35
35
|
<table id='team'>
|
36
36
|
<tr>
|
37
|
-
<td id='
|
38
|
-
<a href='https://github.com/
|
39
|
-
<img src='https://github.com/
|
40
|
-
</a>
|
41
|
-
<h4 align='center'><a href='https://twitter.com/minuscorp'>Jorge Revuelta H</a></h4>
|
42
|
-
</td>
|
43
|
-
<td id='iulian-onofrei'>
|
44
|
-
<a href='https://github.com/revolter'>
|
45
|
-
<img src='https://github.com/revolter.png?size=140'>
|
37
|
+
<td id='kohki-miki'>
|
38
|
+
<a href='https://github.com/giginet'>
|
39
|
+
<img src='https://github.com/giginet.png?size=140'>
|
46
40
|
</a>
|
47
|
-
<h4 align='center'><a href='https://twitter.com/
|
41
|
+
<h4 align='center'><a href='https://twitter.com/giginet'>Kohki Miki</a></h4>
|
48
42
|
</td>
|
49
43
|
<td id='olivier-halligon'>
|
50
44
|
<a href='https://github.com/AliSoftware'>
|
@@ -52,43 +46,81 @@ If the above doesn't help, please [submit an issue](https://github.com/fastlane/
|
|
52
46
|
</a>
|
53
47
|
<h4 align='center'><a href='https://twitter.com/aligatr'>Olivier Halligon</a></h4>
|
54
48
|
</td>
|
55
|
-
<td id='
|
56
|
-
<a href='https://github.com/
|
57
|
-
<img src='https://github.com/
|
49
|
+
<td id='jérôme-lacoste'>
|
50
|
+
<a href='https://github.com/lacostej'>
|
51
|
+
<img src='https://github.com/lacostej.png?size=140'>
|
58
52
|
</a>
|
59
|
-
<h4 align='center'><a href='https://twitter.com/
|
53
|
+
<h4 align='center'><a href='https://twitter.com/lacostej'>Jérôme Lacoste</a></h4>
|
60
54
|
</td>
|
61
|
-
<td id='
|
62
|
-
<a href='https://github.com/
|
63
|
-
<img src='https://github.com/
|
55
|
+
<td id='jimmy-dee'>
|
56
|
+
<a href='https://github.com/jdee'>
|
57
|
+
<img src='https://github.com/jdee.png?size=140'>
|
64
58
|
</a>
|
65
|
-
<h4 align='center'
|
59
|
+
<h4 align='center'>Jimmy Dee</h4>
|
66
60
|
</td>
|
67
|
-
|
68
|
-
<
|
69
|
-
<
|
70
|
-
<a href='https://github.com/taquitos'>
|
71
|
-
<img src='https://github.com/taquitos.png?size=140'>
|
61
|
+
<td id='matthew-ellis'>
|
62
|
+
<a href='https://github.com/matthewellis'>
|
63
|
+
<img src='https://github.com/matthewellis.png?size=140'>
|
72
64
|
</a>
|
73
|
-
<h4 align='center'><a href='https://twitter.com/
|
65
|
+
<h4 align='center'><a href='https://twitter.com/mellis1995'>Matthew Ellis</a></h4>
|
74
66
|
</td>
|
67
|
+
</tr>
|
68
|
+
<tr>
|
75
69
|
<td id='luka-mirosevic'>
|
76
70
|
<a href='https://github.com/lmirosevic'>
|
77
71
|
<img src='https://github.com/lmirosevic.png?size=140'>
|
78
72
|
</a>
|
79
73
|
<h4 align='center'><a href='https://twitter.com/lmirosevic'>Luka Mirosevic</a></h4>
|
80
74
|
</td>
|
75
|
+
<td id='iulian-onofrei'>
|
76
|
+
<a href='https://github.com/revolter'>
|
77
|
+
<img src='https://github.com/revolter.png?size=140'>
|
78
|
+
</a>
|
79
|
+
<h4 align='center'><a href='https://twitter.com/Revolt666'>Iulian Onofrei</a></h4>
|
80
|
+
</td>
|
81
|
+
<td id='manu-wallner'>
|
82
|
+
<a href='https://github.com/milch'>
|
83
|
+
<img src='https://github.com/milch.png?size=140'>
|
84
|
+
</a>
|
85
|
+
<h4 align='center'><a href='https://twitter.com/acrooow'>Manu Wallner</a></h4>
|
86
|
+
</td>
|
87
|
+
<td id='andrew-mcburney'>
|
88
|
+
<a href='https://github.com/armcburney'>
|
89
|
+
<img src='https://github.com/armcburney.png?size=140'>
|
90
|
+
</a>
|
91
|
+
<h4 align='center'><a href='https://twitter.com/armcburney'>Andrew McBurney</a></h4>
|
92
|
+
</td>
|
93
|
+
<td id='jorge-revuelta-h'>
|
94
|
+
<a href='https://github.com/minuscorp'>
|
95
|
+
<img src='https://github.com/minuscorp.png?size=140'>
|
96
|
+
</a>
|
97
|
+
<h4 align='center'><a href='https://twitter.com/minuscorp'>Jorge Revuelta H</a></h4>
|
98
|
+
</td>
|
99
|
+
</tr>
|
100
|
+
<tr>
|
101
|
+
<td id='fumiya-nakamura'>
|
102
|
+
<a href='https://github.com/nafu'>
|
103
|
+
<img src='https://github.com/nafu.png?size=140'>
|
104
|
+
</a>
|
105
|
+
<h4 align='center'><a href='https://twitter.com/nafu003'>Fumiya Nakamura</a></h4>
|
106
|
+
</td>
|
107
|
+
<td id='stefan-natchev'>
|
108
|
+
<a href='https://github.com/snatchev'>
|
109
|
+
<img src='https://github.com/snatchev.png?size=140'>
|
110
|
+
</a>
|
111
|
+
<h4 align='center'><a href='https://twitter.com/snatchev'>Stefan Natchev</a></h4>
|
112
|
+
</td>
|
81
113
|
<td id='danielle-tomlinson'>
|
82
114
|
<a href='https://github.com/endocrimes'>
|
83
115
|
<img src='https://github.com/endocrimes.png?size=140'>
|
84
116
|
</a>
|
85
117
|
<h4 align='center'><a href='https://twitter.com/endocrimes'>Danielle Tomlinson</a></h4>
|
86
118
|
</td>
|
87
|
-
<td id='
|
88
|
-
<a href='https://github.com/
|
89
|
-
<img src='https://github.com/
|
119
|
+
<td id='maksym-grebenets'>
|
120
|
+
<a href='https://github.com/mgrebenets'>
|
121
|
+
<img src='https://github.com/mgrebenets.png?size=140'>
|
90
122
|
</a>
|
91
|
-
<h4 align='center'><a href='https://twitter.com/
|
123
|
+
<h4 align='center'><a href='https://twitter.com/mgrebenets'>Maksym Grebenets</a></h4>
|
92
124
|
</td>
|
93
125
|
<td id='josh-holtz'>
|
94
126
|
<a href='https://github.com/joshdholtz'>
|
@@ -98,23 +130,23 @@ If the above doesn't help, please [submit an issue](https://github.com/fastlane/
|
|
98
130
|
</td>
|
99
131
|
</tr>
|
100
132
|
<tr>
|
133
|
+
<td id='joshua-liebowitz'>
|
134
|
+
<a href='https://github.com/taquitos'>
|
135
|
+
<img src='https://github.com/taquitos.png?size=140'>
|
136
|
+
</a>
|
137
|
+
<h4 align='center'><a href='https://twitter.com/taquitos'>Joshua Liebowitz</a></h4>
|
138
|
+
</td>
|
101
139
|
<td id='jan-piotrowski'>
|
102
140
|
<a href='https://github.com/janpio'>
|
103
141
|
<img src='https://github.com/janpio.png?size=140'>
|
104
142
|
</a>
|
105
143
|
<h4 align='center'><a href='https://twitter.com/Sujan'>Jan Piotrowski</a></h4>
|
106
144
|
</td>
|
107
|
-
<td id='
|
108
|
-
<a href='https://github.com/
|
109
|
-
<img src='https://github.com/
|
110
|
-
</a>
|
111
|
-
<h4 align='center'><a href='https://twitter.com/mgrebenets'>Maksym Grebenets</a></h4>
|
112
|
-
</td>
|
113
|
-
<td id='fumiya-nakamura'>
|
114
|
-
<a href='https://github.com/nafu'>
|
115
|
-
<img src='https://github.com/nafu.png?size=140'>
|
145
|
+
<td id='felix-krause'>
|
146
|
+
<a href='https://github.com/KrauseFx'>
|
147
|
+
<img src='https://github.com/KrauseFx.png?size=140'>
|
116
148
|
</a>
|
117
|
-
<h4 align='center'><a href='https://twitter.com/
|
149
|
+
<h4 align='center'><a href='https://twitter.com/KrauseFx'>Felix Krause</a></h4>
|
118
150
|
</td>
|
119
151
|
<td id='helmut-januschka'>
|
120
152
|
<a href='https://github.com/hjanuschka'>
|
@@ -122,43 +154,11 @@ If the above doesn't help, please [submit an issue](https://github.com/fastlane/
|
|
122
154
|
</a>
|
123
155
|
<h4 align='center'><a href='https://twitter.com/hjanuschka'>Helmut Januschka</a></h4>
|
124
156
|
</td>
|
125
|
-
<td id='
|
126
|
-
<a href='https://github.com/
|
127
|
-
<img src='https://github.com/
|
128
|
-
</a>
|
129
|
-
<h4 align='center'><a href='https://twitter.com/armcburney'>Andrew McBurney</a></h4>
|
130
|
-
</td>
|
131
|
-
</tr>
|
132
|
-
<tr>
|
133
|
-
<td id='jimmy-dee'>
|
134
|
-
<a href='https://github.com/jdee'>
|
135
|
-
<img src='https://github.com/jdee.png?size=140'>
|
136
|
-
</a>
|
137
|
-
<h4 align='center'>Jimmy Dee</h4>
|
138
|
-
</td>
|
139
|
-
<td id='kohki-miki'>
|
140
|
-
<a href='https://github.com/giginet'>
|
141
|
-
<img src='https://github.com/giginet.png?size=140'>
|
142
|
-
</a>
|
143
|
-
<h4 align='center'><a href='https://twitter.com/giginet'>Kohki Miki</a></h4>
|
144
|
-
</td>
|
145
|
-
<td id='manu-wallner'>
|
146
|
-
<a href='https://github.com/milch'>
|
147
|
-
<img src='https://github.com/milch.png?size=140'>
|
148
|
-
</a>
|
149
|
-
<h4 align='center'><a href='https://twitter.com/acrooow'>Manu Wallner</a></h4>
|
150
|
-
</td>
|
151
|
-
<td id='jérôme-lacoste'>
|
152
|
-
<a href='https://github.com/lacostej'>
|
153
|
-
<img src='https://github.com/lacostej.png?size=140'>
|
154
|
-
</a>
|
155
|
-
<h4 align='center'><a href='https://twitter.com/lacostej'>Jérôme Lacoste</a></h4>
|
156
|
-
</td>
|
157
|
-
<td id='matthew-ellis'>
|
158
|
-
<a href='https://github.com/matthewellis'>
|
159
|
-
<img src='https://github.com/matthewellis.png?size=140'>
|
157
|
+
<td id='aaron-brager'>
|
158
|
+
<a href='https://github.com/getaaron'>
|
159
|
+
<img src='https://github.com/getaaron.png?size=140'>
|
160
160
|
</a>
|
161
|
-
<h4 align='center'><a href='https://twitter.com/
|
161
|
+
<h4 align='center'><a href='https://twitter.com/getaaron'>Aaron Brager</a></h4>
|
162
162
|
</td>
|
163
163
|
</tr>
|
164
164
|
</table>
|
@@ -59,7 +59,7 @@ module Deliver
|
|
59
59
|
build = nil
|
60
60
|
|
61
61
|
loop do
|
62
|
-
# Sometimes candidate_builds don't appear immediately after
|
62
|
+
# Sometimes candidate_builds don't appear immediately after submission
|
63
63
|
# Wait for candidate_builds to appear on App Store Connect
|
64
64
|
# Issue https://github.com/fastlane/fastlane/issues/10411
|
65
65
|
candidate_builds = app.latest_version.candidate_builds
|
@@ -115,7 +115,7 @@ module Fastlane
|
|
115
115
|
optional: true),
|
116
116
|
FastlaneCore::ConfigItem.new(key: :params,
|
117
117
|
env_name: "APPETIZE_VIEWING_URL_GENERATOR_PARAMS",
|
118
|
-
description: "
|
118
|
+
description: "Specify params value to be passed to Appetize",
|
119
119
|
is_string: true,
|
120
120
|
optional: true),
|
121
121
|
FastlaneCore::ConfigItem.new(key: :proxy,
|
@@ -50,7 +50,7 @@ module Fastlane
|
|
50
50
|
if params[:code_sign_identity]
|
51
51
|
build_configuration_list.set_setting("CODE_SIGN_IDENTITY", params[:code_sign_identity])
|
52
52
|
|
53
|
-
# We also need to update the value if it was
|
53
|
+
# We also need to update the value if it was overridden for a specific SDK
|
54
54
|
build_configuration_list.build_configurations.each do |build_configuration|
|
55
55
|
codesign_build_settings_keys = build_configuration.build_settings.keys.select { |key| key.to_s.match(/CODE_SIGN_IDENTITY.*/) }
|
56
56
|
codesign_build_settings_keys.each do |setting|
|
@@ -50,7 +50,7 @@ module Fastlane
|
|
50
50
|
end
|
51
51
|
}
|
52
52
|
}) do |result|
|
53
|
-
UI.success("Successfully
|
53
|
+
UI.success("Successfully committed file to GitHub")
|
54
54
|
json = result[:json]
|
55
55
|
html_url = json['commit']['html_url']
|
56
56
|
download_url = json['content']['download_url']
|
@@ -16,7 +16,12 @@ module Fastlane
|
|
16
16
|
project = get_project!(folder)
|
17
17
|
target = get_target!(project, target_name)
|
18
18
|
plist_file = get_plist!(folder, target, configuration)
|
19
|
-
version_number =
|
19
|
+
version_number = get_version_number_from_plist!(plist_file)
|
20
|
+
|
21
|
+
# Get from build settings if needed (ex: $(MARKETING_VERSION) is default in Xcode 11)
|
22
|
+
if version_number =~ /\$\(([\w\-]+)\)/
|
23
|
+
version_number = get_version_number_from_build_settings!(target, $1, configuration)
|
24
|
+
end
|
20
25
|
|
21
26
|
# Store the number in the shared hash
|
22
27
|
Actions.lane_context[SharedValues::VERSION_NUMBER] = version_number
|
@@ -65,6 +70,17 @@ module Fastlane
|
|
65
70
|
target
|
66
71
|
end
|
67
72
|
|
73
|
+
def self.get_version_number_from_build_settings!(target, variable, configuration = nil)
|
74
|
+
target.build_configurations.each do |config|
|
75
|
+
if configuration.nil? || config.name == configuration
|
76
|
+
value = config.build_settings[variable]
|
77
|
+
return value if value
|
78
|
+
end
|
79
|
+
end
|
80
|
+
|
81
|
+
UI.user_error!("Unable to find Xcode build setting: #{variable}")
|
82
|
+
end
|
83
|
+
|
68
84
|
def self.get_plist!(folder, target, configuration = nil)
|
69
85
|
plist_files = target.resolved_build_setting("INFOPLIST_FILE")
|
70
86
|
plist_files_count = plist_files.values.compact.uniq.count
|
@@ -94,7 +110,7 @@ module Fastlane
|
|
94
110
|
plist_file
|
95
111
|
end
|
96
112
|
|
97
|
-
def self.
|
113
|
+
def self.get_version_number_from_plist!(plist_file)
|
98
114
|
plist = Xcodeproj::Plist.read_from_path(plist_file)
|
99
115
|
UI.user_error!("Unable to read plist: #{plist_file}") unless plist
|
100
116
|
|
@@ -113,7 +113,7 @@ module Fastlane
|
|
113
113
|
optional: true),
|
114
114
|
FastlaneCore::ConfigItem.new(key: :raw_body,
|
115
115
|
env_name: "FL_GITHUB_API_REQUEST_RAW_BODY",
|
116
|
-
description: "The request body taken
|
116
|
+
description: "The request body taken verbatim instead of as JSON, useful for file uploads",
|
117
117
|
is_string: true,
|
118
118
|
optional: true),
|
119
119
|
FastlaneCore::ConfigItem.new(key: :path,
|
@@ -102,7 +102,7 @@ module Fastlane
|
|
102
102
|
[
|
103
103
|
FastlaneCore::ConfigItem.new(key: :task,
|
104
104
|
env_name: 'FL_GRADLE_TASK',
|
105
|
-
description: 'The gradle task you want to execute, e.g. `assemble` or `test`. For tasks such as `assembleMyFlavorRelease` you should use gradle(task: \'assemble\', flavor: \'Myflavor\', build_type: \'Release\')',
|
105
|
+
description: 'The gradle task you want to execute, e.g. `assemble`, `bundle` or `test`. For tasks such as `assembleMyFlavorRelease` you should use gradle(task: \'assemble\', flavor: \'Myflavor\', build_type: \'Release\')',
|
106
106
|
optional: false,
|
107
107
|
is_string: true),
|
108
108
|
FastlaneCore::ConfigItem.new(key: :flavor,
|
@@ -187,8 +187,21 @@ module Fastlane
|
|
187
187
|
task: "assemble",
|
188
188
|
flavor: "WorldDomination",
|
189
189
|
build_type: "Release"
|
190
|
-
)
|
191
|
-
|
190
|
+
)
|
191
|
+
```
|
192
|
+
|
193
|
+
To build an AAB use:
|
194
|
+
```ruby
|
195
|
+
gradle(
|
196
|
+
task: "bundle",
|
197
|
+
flavor: "WorldDomination",
|
198
|
+
build_type: "Release"
|
199
|
+
)
|
200
|
+
```
|
201
|
+
|
202
|
+
You can pass properties to gradle:
|
203
|
+
```ruby
|
204
|
+
gradle(
|
192
205
|
# ...
|
193
206
|
|
194
207
|
properties: {
|
@@ -211,8 +224,11 @@ module Fastlane
|
|
211
224
|
"android.injected.signing.key.alias" => "key_alias",
|
212
225
|
"android.injected.signing.key.password" => "key_password",
|
213
226
|
}
|
214
|
-
)
|
215
|
-
|
227
|
+
)
|
228
|
+
```
|
229
|
+
|
230
|
+
If you need to pass sensitive information through the `gradle` action, and don\'t want the generated command to be printed before it is run, you can suppress that:
|
231
|
+
```ruby
|
216
232
|
gradle(
|
217
233
|
# ...
|
218
234
|
print_command: false
|
@@ -233,8 +249,11 @@ module Fastlane
|
|
233
249
|
# ...
|
234
250
|
|
235
251
|
flags: "--exitcode --xml file.xml"
|
236
|
-
)
|
237
|
-
|
252
|
+
)
|
253
|
+
```
|
254
|
+
|
255
|
+
Delete the build directory, generated APKs and AABs
|
256
|
+
```ruby
|
238
257
|
gradle(
|
239
258
|
task: "clean"
|
240
259
|
)'
|
@@ -31,7 +31,7 @@ module Fastlane
|
|
31
31
|
default_value: 'fastlane/Fastfile',
|
32
32
|
optional: true),
|
33
33
|
FastlaneCore::ConfigItem.new(key: :version,
|
34
|
-
description: "The version to checkout on the
|
34
|
+
description: "The version to checkout on the repository. Optimistic match operator or multiple conditions can be used to select the latest version within constraints",
|
35
35
|
default_value: nil,
|
36
36
|
is_string: false,
|
37
37
|
optional: true)
|
@@ -65,25 +65,30 @@ module Fastlane
|
|
65
65
|
FastlaneCore::ConfigItem.new(key: :use_bundle_exec,
|
66
66
|
description: "Use bundle exec when there is a Gemfile presented",
|
67
67
|
type: Boolean,
|
68
|
-
default_value: false
|
68
|
+
default_value: false,
|
69
|
+
env_name: "FL_POD_PUSH_USE_BUNDLE_EXEC"),
|
69
70
|
FastlaneCore::ConfigItem.new(key: :path,
|
70
71
|
description: "The Podspec you want to push",
|
71
72
|
optional: true,
|
72
73
|
verify_block: proc do |value|
|
73
74
|
UI.user_error!("Couldn't find file at path '#{value}'") unless File.exist?(value)
|
74
75
|
UI.user_error!("File must be a `.podspec` or `.podspec.json`") unless value.end_with?(".podspec", ".podspec.json")
|
75
|
-
end
|
76
|
+
end,
|
77
|
+
env_name: "FL_POD_PUSH_PATH"),
|
76
78
|
FastlaneCore::ConfigItem.new(key: :repo,
|
77
79
|
description: "The repo you want to push. Pushes to Trunk by default",
|
78
|
-
optional: true
|
80
|
+
optional: true,
|
81
|
+
env_name: "FL_POD_PUSH_REPO"),
|
79
82
|
FastlaneCore::ConfigItem.new(key: :allow_warnings,
|
80
83
|
description: "Allow warnings during pod push",
|
81
84
|
optional: true,
|
82
|
-
type: Boolean
|
85
|
+
type: Boolean,
|
86
|
+
env_name: "FL_POD_PUSH_ALLOW_WARNINGS"),
|
83
87
|
FastlaneCore::ConfigItem.new(key: :use_libraries,
|
84
88
|
description: "Allow lint to use static libraries to install the spec",
|
85
89
|
optional: true,
|
86
|
-
type: Boolean
|
90
|
+
type: Boolean,
|
91
|
+
env_name: "FL_POD_PUSH_USE_LIBRARIES"),
|
87
92
|
FastlaneCore::ConfigItem.new(key: :sources,
|
88
93
|
description: "The sources of repos you want the pod spec to lint with, separated by commas",
|
89
94
|
optional: true,
|
@@ -91,24 +96,29 @@ module Fastlane
|
|
91
96
|
type: Array,
|
92
97
|
verify_block: proc do |value|
|
93
98
|
UI.user_error!("Sources must be an array.") unless value.kind_of?(Array)
|
94
|
-
end
|
99
|
+
end,
|
100
|
+
env_name: "FL_POD_PUSH_SOURCES"),
|
95
101
|
FastlaneCore::ConfigItem.new(key: :swift_version,
|
96
102
|
description: "The SWIFT_VERSION that should be used to lint the spec. This takes precedence over a .swift-version file",
|
97
103
|
optional: true,
|
98
|
-
is_string: true
|
104
|
+
is_string: true,
|
105
|
+
env_name: "FL_POD_PUSH_SWIFT_VERSION"),
|
99
106
|
FastlaneCore::ConfigItem.new(key: :skip_import_validation,
|
100
107
|
description: "Lint skips validating that the pod can be imported",
|
101
108
|
optional: true,
|
102
|
-
type: Boolean
|
109
|
+
type: Boolean,
|
110
|
+
env_name: "FL_POD_PUSH_SKIP_IMPORT_VALIDATION"),
|
103
111
|
FastlaneCore::ConfigItem.new(key: :skip_tests,
|
104
112
|
description: "Lint skips building and running tests during validation",
|
105
113
|
optional: true,
|
106
|
-
type: Boolean
|
114
|
+
type: Boolean,
|
115
|
+
env_name: "FL_POD_PUSH_SKIP_TESTS"),
|
107
116
|
FastlaneCore::ConfigItem.new(key: :verbose,
|
108
117
|
description: "Show more debugging information",
|
109
118
|
optional: true,
|
110
119
|
type: Boolean,
|
111
|
-
default_value: false
|
120
|
+
default_value: false,
|
121
|
+
env_name: "FL_POD_PUSH_VERBOSE")
|
112
122
|
]
|
113
123
|
end
|
114
124
|
|