fastlane 2.128.1 → 2.129.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (52) hide show
  1. checksums.yaml +5 -5
  2. data/README.md +74 -74
  3. data/deliver/lib/deliver/submit_for_review.rb +1 -1
  4. data/fastlane/lib/fastlane/actions/appetize_viewing_url_generator.rb +1 -1
  5. data/fastlane/lib/fastlane/actions/automatic_code_signing.rb +1 -1
  6. data/fastlane/lib/fastlane/actions/commit_github_file.rb +1 -1
  7. data/fastlane/lib/fastlane/actions/get_version_number.rb +18 -2
  8. data/fastlane/lib/fastlane/actions/github_api.rb +1 -1
  9. data/fastlane/lib/fastlane/actions/gradle.rb +26 -7
  10. data/fastlane/lib/fastlane/actions/import_from_git.rb +1 -1
  11. data/fastlane/lib/fastlane/actions/pod_push.rb +20 -10
  12. data/fastlane/lib/fastlane/actions/puts.rb +1 -1
  13. data/fastlane/lib/fastlane/actions/sonar.rb +18 -0
  14. data/fastlane/lib/fastlane/actions/update_fastlane.rb +1 -1
  15. data/fastlane/lib/fastlane/commands_generator.rb +1 -1
  16. data/fastlane/lib/fastlane/helper/adb_helper.rb +5 -0
  17. data/fastlane/lib/fastlane/helper/crashlytics_helper.rb +11 -5
  18. data/fastlane/lib/fastlane/swift_fastlane_api_generator.rb +4 -0
  19. data/fastlane/lib/fastlane/swift_fastlane_function.rb +11 -7
  20. data/fastlane/lib/fastlane/version.rb +1 -1
  21. data/fastlane/swift/Deliverfile.swift +1 -1
  22. data/fastlane/swift/Fastlane.swift +290 -284
  23. data/fastlane/swift/Gymfile.swift +1 -1
  24. data/fastlane/swift/GymfileProtocol.swift +3 -3
  25. data/fastlane/swift/Matchfile.swift +1 -1
  26. data/fastlane/swift/Precheckfile.swift +1 -1
  27. data/fastlane/swift/Scanfile.swift +1 -1
  28. data/fastlane/swift/ScanfileProtocol.swift +3 -3
  29. data/fastlane/swift/Screengrabfile.swift +1 -1
  30. data/fastlane/swift/Snapshotfile.swift +1 -1
  31. data/fastlane_core/lib/fastlane_core/analytics/analytics_event_builder.rb +1 -1
  32. data/fastlane_core/lib/fastlane_core/configuration/config_item.rb +1 -1
  33. data/frameit/lib/frameit/editor.rb +1 -1
  34. data/gym/lib/gym/options.rb +1 -1
  35. data/match/lib/match/nuke.rb +1 -1
  36. data/match/lib/match/runner.rb +2 -2
  37. data/match/lib/match/storage/interface.rb +1 -1
  38. data/scan/lib/scan/options.rb +1 -1
  39. data/scan/lib/scan/runner.rb +1 -1
  40. data/snapshot/lib/assets/SnapshotHelper.swift +3 -3
  41. data/spaceship/lib/spaceship/connect_api/models/beta_tester_metric.rb +1 -0
  42. data/spaceship/lib/spaceship/du/du_client.rb +4 -0
  43. data/spaceship/lib/spaceship/portal/certificate.rb +15 -1
  44. data/spaceship/lib/spaceship/spaceauth_runner.rb +1 -1
  45. data/spaceship/lib/spaceship/test_flight/tester.rb +1 -1
  46. data/spaceship/lib/spaceship/tunes/build_details.rb +160 -18
  47. data/spaceship/lib/spaceship/tunes/display_family.rb +3 -3
  48. data/spaceship/lib/spaceship/tunes/iap.rb +2 -0
  49. data/spaceship/lib/spaceship/tunes/iap_detail.rb +17 -0
  50. data/spaceship/lib/spaceship/tunes/tunes_client.rb +37 -1
  51. data/supply/lib/supply/client.rb +1 -1
  52. metadata +17 -18
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
- SHA1:
3
- metadata.gz: fa6539a87eefa14196d94df8abc20a93b9c9d8f9
4
- data.tar.gz: 490b1d8276b06a3fc9b65556c20a99366e4495ef
2
+ SHA256:
3
+ metadata.gz: 6124176bffd29a27249c10db5e464422be774d8a0f809e77f10f5f95fb9957f2
4
+ data.tar.gz: c82037b4369ce615407225bd03d7a9aa8cb27c5128c60ddc9f5048577e6783fe
5
5
  SHA512:
6
- metadata.gz: ce07c677c47a887e03463ba9ba7bb591c4f832182a80275246093f83a20bb89e57523612b086476bf8c9306835c5606a4bba2dff696a0235488463f8e2dedc79
7
- data.tar.gz: 1ac41e3f7002614c632ff3f094dec41fb33bdaa95b16d2729cbf3e2c3add3be99dc3b29487969a47344600bc135bbcb263d805444681153ffb46bc961389970c
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='jorge-revuelta-h'>
38
- <a href='https://github.com/minuscorp'>
39
- <img src='https://github.com/minuscorp.png?size=140'>
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/Revolt666'>Iulian Onofrei</a></h4>
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='felix-krause'>
56
- <a href='https://github.com/KrauseFx'>
57
- <img src='https://github.com/KrauseFx.png?size=140'>
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/KrauseFx'>Felix Krause</a></h4>
53
+ <h4 align='center'><a href='https://twitter.com/lacostej'>Jérôme Lacoste</a></h4>
60
54
  </td>
61
- <td id='stefan-natchev'>
62
- <a href='https://github.com/snatchev'>
63
- <img src='https://github.com/snatchev.png?size=140'>
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'><a href='https://twitter.com/snatchev'>Stefan Natchev</a></h4>
59
+ <h4 align='center'>Jimmy Dee</h4>
66
60
  </td>
67
- </tr>
68
- <tr>
69
- <td id='joshua-liebowitz'>
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/taquitos'>Joshua Liebowitz</a></h4>
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='aaron-brager'>
88
- <a href='https://github.com/getaaron'>
89
- <img src='https://github.com/getaaron.png?size=140'>
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/getaaron'>Aaron Brager</a></h4>
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='maksym-grebenets'>
108
- <a href='https://github.com/mgrebenets'>
109
- <img src='https://github.com/mgrebenets.png?size=140'>
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/nafu003'>Fumiya Nakamura</a></h4>
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='andrew-mcburney'>
126
- <a href='https://github.com/armcburney'>
127
- <img src='https://github.com/armcburney.png?size=140'>
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/mellis1995'>Matthew Ellis</a></h4>
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 submittion
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: "Specifiy params value to be passed to Appetize",
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 overriden for a specific SDK
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 commited file to GitHub")
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 = get_version_number!(plist_file)
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.get_version_number!(plist_file)
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 vertabim instead of as JSON, useful for file uploads",
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
- 'gradle(
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
- '# 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:
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
- '# Delete the build directory and generated APKs
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 respository. Optimistic match operator or multiple conditions can be used to select the latest version within constraints",
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
 
@@ -9,7 +9,7 @@ module Fastlane
9
9
  return
10
10
  end
11
11
 
12
- # no paramter included in the call means treat this like a normal fastlane ruby call
12
+ # no parameter included in the call means treat this like a normal fastlane ruby call
13
13
  UI.message(params.join(' '))
14
14
  end
15
15