fastlane 2.185.1 → 2.186.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (63) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +100 -100
  3. data/fastlane/lib/fastlane/actions/deploygate.rb +1 -2
  4. data/fastlane/lib/fastlane/actions/download_app_privacy_details_from_app_store.rb +1 -1
  5. data/fastlane/lib/fastlane/actions/download_dsyms.rb +3 -4
  6. data/fastlane/lib/fastlane/actions/dsym_zip.rb +1 -1
  7. data/fastlane/lib/fastlane/actions/ensure_git_branch.rb +0 -1
  8. data/fastlane/lib/fastlane/actions/ensure_git_status_clean.rb +3 -4
  9. data/fastlane/lib/fastlane/actions/ensure_no_debug_code.rb +3 -5
  10. data/fastlane/lib/fastlane/actions/ensure_xcode_version.rb +1 -2
  11. data/fastlane/lib/fastlane/actions/environment_variable.rb +13 -21
  12. data/fastlane/lib/fastlane/actions/erb.rb +2 -5
  13. data/fastlane/lib/fastlane/actions/get_build_number_repository.rb +1 -1
  14. data/fastlane/lib/fastlane/actions/get_ipa_info_plist_value.rb +0 -1
  15. data/fastlane/lib/fastlane/actions/get_managed_play_store_publishing_rights.rb +29 -34
  16. data/fastlane/lib/fastlane/actions/get_push_certificate.rb +1 -1
  17. data/fastlane/lib/fastlane/actions/git_add.rb +5 -10
  18. data/fastlane/lib/fastlane/actions/git_commit.rb +2 -6
  19. data/fastlane/lib/fastlane/actions/git_remote_branch.rb +57 -0
  20. data/fastlane/lib/fastlane/actions/github_api.rb +2 -5
  21. data/fastlane/lib/fastlane/actions/gradle.rb +11 -19
  22. data/fastlane/lib/fastlane/actions/hg_commit_version_bump.rb +1 -1
  23. data/fastlane/lib/fastlane/actions/hg_push.rb +1 -1
  24. data/fastlane/lib/fastlane/actions/hipchat.rb +4 -5
  25. data/fastlane/lib/fastlane/actions/hockey.rb +5 -12
  26. data/fastlane/lib/fastlane/actions/ifttt.rb +3 -6
  27. data/fastlane/lib/fastlane/actions/import_from_git.rb +2 -4
  28. data/fastlane/lib/fastlane/actions/increment_build_number.rb +1 -2
  29. data/fastlane/lib/fastlane/actions/install_on_device.rb +3 -6
  30. data/fastlane/lib/fastlane/actions/installr.rb +22 -25
  31. data/fastlane/lib/fastlane/actions/ipa.rb +2 -2
  32. data/fastlane/lib/fastlane/actions/jazzy.rb +8 -14
  33. data/fastlane/lib/fastlane/{actions/.git_commit.rb.swp → helper/.git_helper.rb.swp} +0 -0
  34. data/fastlane/lib/fastlane/helper/git_helper.rb +17 -5
  35. data/fastlane/lib/fastlane/swift_fastlane_function.rb +1 -1
  36. data/fastlane/lib/fastlane/version.rb +1 -1
  37. data/fastlane/swift/Deliverfile.swift +1 -1
  38. data/fastlane/swift/DeliverfileProtocol.swift +1 -1
  39. data/fastlane/swift/Fastlane.swift +49 -32
  40. data/fastlane/swift/Gymfile.swift +1 -1
  41. data/fastlane/swift/GymfileProtocol.swift +1 -1
  42. data/fastlane/swift/Matchfile.swift +1 -1
  43. data/fastlane/swift/MatchfileProtocol.swift +1 -1
  44. data/fastlane/swift/Precheckfile.swift +1 -1
  45. data/fastlane/swift/PrecheckfileProtocol.swift +1 -1
  46. data/fastlane/swift/Scanfile.swift +1 -1
  47. data/fastlane/swift/ScanfileProtocol.swift +1 -1
  48. data/fastlane/swift/Screengrabfile.swift +1 -1
  49. data/fastlane/swift/ScreengrabfileProtocol.swift +1 -1
  50. data/fastlane/swift/Snapshotfile.swift +1 -1
  51. data/fastlane/swift/SnapshotfileProtocol.swift +1 -1
  52. data/fastlane/swift/formatting/Brewfile.lock.json +11 -11
  53. data/fastlane_core/lib/fastlane_core/configuration/config_item.rb +13 -0
  54. data/match/lib/match/importer.rb +3 -0
  55. data/match/lib/match/nuke.rb +2 -3
  56. data/pilot/lib/pilot/build_manager.rb +0 -3
  57. data/pilot/lib/pilot/manager.rb +4 -1
  58. data/snapshot/lib/assets/SnapshotHelper.swift +1 -1
  59. data/spaceship/lib/spaceship/connect_api/api_client.rb +30 -5
  60. data/spaceship/lib/spaceship/connect_api/models/beta_tester.rb +3 -1
  61. data/spaceship/lib/spaceship/connect_api/models/build.rb +3 -1
  62. data/spaceship/lib/spaceship/connect_api/testflight/testflight.rb +13 -0
  63. metadata +20 -19
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: f8b6571964abef2b2e8b1cd869a08570a55204c8eaacceb7fdc6e06a74c4b620
4
- data.tar.gz: 7f174988315794be70e4ed8b33b4ed433c0f66c3425d9acfa2cfffd876725950
3
+ metadata.gz: d3c70ba96cf6bfbba6457919c4de99ec88f699a7ad08b98606aad1603053642e
4
+ data.tar.gz: 946bfacb6403816694a2ad39f9eb5a897aa4b9fa66d35533f92a75f348bc662f
5
5
  SHA512:
6
- metadata.gz: 78fa9680797fc18ebe5c0961aa54bbcc2fec38c02230590ddb6809c91b7ece1f877118b3d8777161760f22262cfb90f6bb9ec5a3e8b113de725ece4055a367dc
7
- data.tar.gz: 178e47828500a152080f0aa048d9954a46db7fab5c8039fe8f125029a9987cb4c3a85579503fb9982ced69dcde4c9e04a1550d559ea2b9909b0ea792d3ab1003
6
+ metadata.gz: 9d136b32351413335f6a50af66177c99ba7ac579465b1c4603c5a4536733803c7bc2de1081f01831b8d0ee04c79c93bcb0470c930e8d90521ca1ec60f755d951
7
+ data.tar.gz: 14bff2661db8d370feec4a8f6fb089b7d4812bc768b678898cb22a52c95ffb5b77e5686b6c1ca1154f22fb7aa0b54c96a8864fb93b60bf184b9a185fdf61a2f2
data/README.md CHANGED
@@ -35,81 +35,61 @@ If the above doesn't help, please [submit an issue](https://github.com/fastlane/
35
35
  <!-- This table is regenerated and resorted on each release -->
36
36
  <table id='team'>
37
37
  <tr>
38
- <td id='josh-holtz'>
39
- <a href='https://github.com/joshdholtz'>
40
- <img src='https://github.com/joshdholtz.png' width='140px;'>
38
+ <td id='danielle-tomlinson'>
39
+ <a href='https://github.com/endocrimes'>
40
+ <img src='https://github.com/endocrimes.png' width='140px;'>
41
41
  </a>
42
- <h4 align='center'><a href='https://twitter.com/joshdholtz'>Josh Holtz</a></h4>
42
+ <h4 align='center'><a href='https://twitter.com/endocrimes'>Danielle Tomlinson</a></h4>
43
43
  </td>
44
- <td id='jimmy-dee'>
45
- <a href='https://github.com/jdee'>
46
- <img src='https://github.com/jdee.png' width='140px;'>
44
+ <td id='matthew-ellis'>
45
+ <a href='https://github.com/matthewellis'>
46
+ <img src='https://github.com/matthewellis.png' width='140px;'>
47
47
  </a>
48
- <h4 align='center'>Jimmy Dee</h4>
48
+ <h4 align='center'><a href='https://twitter.com/mellis1995'>Matthew Ellis</a></h4>
49
49
  </td>
50
- <td id='olivier-halligon'>
51
- <a href='https://github.com/AliSoftware'>
52
- <img src='https://github.com/AliSoftware.png' width='140px;'>
50
+ <td id='jorge-revuelta-h'>
51
+ <a href='https://github.com/minuscorp'>
52
+ <img src='https://github.com/minuscorp.png' width='140px;'>
53
53
  </a>
54
- <h4 align='center'><a href='https://twitter.com/aligatr'>Olivier Halligon</a></h4>
54
+ <h4 align='center'><a href='https://twitter.com/minuscorp'>Jorge Revuelta H</a></h4>
55
55
  </td>
56
- <td id='maksym-grebenets'>
57
- <a href='https://github.com/mgrebenets'>
58
- <img src='https://github.com/mgrebenets.png' width='140px;'>
56
+ <td id='satoshi-namai'>
57
+ <a href='https://github.com/ainame'>
58
+ <img src='https://github.com/ainame.png' width='140px;'>
59
59
  </a>
60
- <h4 align='center'><a href='https://twitter.com/mgrebenets'>Maksym Grebenets</a></h4>
60
+ <h4 align='center'><a href='https://twitter.com/ainame'>Satoshi Namai</a></h4>
61
61
  </td>
62
- <td id='kohki-miki'>
63
- <a href='https://github.com/giginet'>
64
- <img src='https://github.com/giginet.png' width='140px;'>
62
+ <td id='jan-piotrowski'>
63
+ <a href='https://github.com/janpio'>
64
+ <img src='https://github.com/janpio.png' width='140px;'>
65
65
  </a>
66
- <h4 align='center'><a href='https://twitter.com/giginet'>Kohki Miki</a></h4>
66
+ <h4 align='center'><a href='https://twitter.com/Sujan'>Jan Piotrowski</a></h4>
67
67
  </td>
68
68
  </tr>
69
69
  <tr>
70
- <td id='manu-wallner'>
71
- <a href='https://github.com/milch'>
72
- <img src='https://github.com/milch.png' width='140px;'>
73
- </a>
74
- <h4 align='center'><a href='https://twitter.com/acrooow'>Manu Wallner</a></h4>
75
- </td>
76
- <td id='aaron-brager'>
77
- <a href='https://github.com/getaaron'>
78
- <img src='https://github.com/getaaron.png' width='140px;'>
79
- </a>
80
- <h4 align='center'><a href='https://twitter.com/getaaron'>Aaron Brager</a></h4>
81
- </td>
82
70
  <td id='felix-krause'>
83
71
  <a href='https://github.com/KrauseFx'>
84
72
  <img src='https://github.com/KrauseFx.png' width='140px;'>
85
73
  </a>
86
74
  <h4 align='center'><a href='https://twitter.com/KrauseFx'>Felix Krause</a></h4>
87
75
  </td>
88
- <td id='stefan-natchev'>
89
- <a href='https://github.com/snatchev'>
90
- <img src='https://github.com/snatchev.png' width='140px;'>
91
- </a>
92
- <h4 align='center'><a href='https://twitter.com/snatchev'>Stefan Natchev</a></h4>
93
- </td>
94
- <td id='roger-oba'>
95
- <a href='https://github.com/rogerluan'>
96
- <img src='https://github.com/rogerluan.png' width='140px;'>
76
+ <td id='max-ott'>
77
+ <a href='https://github.com/max-ott'>
78
+ <img src='https://github.com/max-ott.png' width='140px;'>
97
79
  </a>
98
- <h4 align='center'><a href='https://twitter.com/rogerluan_'>Roger Oba</a></h4>
80
+ <h4 align='center'><a href='https://twitter.com/ott_max'>Max Ott</a></h4>
99
81
  </td>
100
- </tr>
101
- <tr>
102
- <td id='manish-rathi'>
103
- <a href='https://github.com/crazymanish'>
104
- <img src='https://github.com/crazymanish.png' width='140px;'>
82
+ <td id='luka-mirosevic'>
83
+ <a href='https://github.com/lmirosevic'>
84
+ <img src='https://github.com/lmirosevic.png' width='140px;'>
105
85
  </a>
106
- <h4 align='center'><a href='https://twitter.com/iammanishrathi'>Manish Rathi</a></h4>
86
+ <h4 align='center'><a href='https://twitter.com/lmirosevic'>Luka Mirosevic</a></h4>
107
87
  </td>
108
- <td id='iulian-onofrei'>
109
- <a href='https://github.com/revolter'>
110
- <img src='https://github.com/revolter.png' width='140px;'>
88
+ <td id='daniel-jankowski'>
89
+ <a href='https://github.com/mollyIV'>
90
+ <img src='https://github.com/mollyIV.png' width='140px;'>
111
91
  </a>
112
- <h4 align='center'><a href='https://twitter.com/Revolt666'>Iulian Onofrei</a></h4>
92
+ <h4 align='center'><a href='https://twitter.com/mollyIV'>Daniel Jankowski</a></h4>
113
93
  </td>
114
94
  <td id='jérôme-lacoste'>
115
95
  <a href='https://github.com/lacostej'>
@@ -117,57 +97,51 @@ If the above doesn't help, please [submit an issue](https://github.com/fastlane/
117
97
  </a>
118
98
  <h4 align='center'><a href='https://twitter.com/lacostej'>Jérôme Lacoste</a></h4>
119
99
  </td>
120
- <td id='satoshi-namai'>
121
- <a href='https://github.com/ainame'>
122
- <img src='https://github.com/ainame.png' width='140px;'>
123
- </a>
124
- <h4 align='center'><a href='https://twitter.com/ainame'>Satoshi Namai</a></h4>
125
- </td>
126
- <td id='helmut-januschka'>
127
- <a href='https://github.com/hjanuschka'>
128
- <img src='https://github.com/hjanuschka.png' width='140px;'>
129
- </a>
130
- <h4 align='center'><a href='https://twitter.com/hjanuschka'>Helmut Januschka</a></h4>
131
- </td>
132
100
  </tr>
133
101
  <tr>
134
- <td id='max-ott'>
135
- <a href='https://github.com/max-ott'>
136
- <img src='https://github.com/max-ott.png' width='140px;'>
102
+ <td id='kohki-miki'>
103
+ <a href='https://github.com/giginet'>
104
+ <img src='https://github.com/giginet.png' width='140px;'>
137
105
  </a>
138
- <h4 align='center'><a href='https://twitter.com/ott_max'>Max Ott</a></h4>
106
+ <h4 align='center'><a href='https://twitter.com/giginet'>Kohki Miki</a></h4>
139
107
  </td>
140
- <td id='luka-mirosevic'>
141
- <a href='https://github.com/lmirosevic'>
142
- <img src='https://github.com/lmirosevic.png' width='140px;'>
108
+ <td id='roger-oba'>
109
+ <a href='https://github.com/rogerluan'>
110
+ <img src='https://github.com/rogerluan.png' width='140px;'>
143
111
  </a>
144
- <h4 align='center'><a href='https://twitter.com/lmirosevic'>Luka Mirosevic</a></h4>
112
+ <h4 align='center'><a href='https://twitter.com/rogerluan_'>Roger Oba</a></h4>
145
113
  </td>
146
- <td id='jan-piotrowski'>
147
- <a href='https://github.com/janpio'>
148
- <img src='https://github.com/janpio.png' width='140px;'>
114
+ <td id='maksym-grebenets'>
115
+ <a href='https://github.com/mgrebenets'>
116
+ <img src='https://github.com/mgrebenets.png' width='140px;'>
149
117
  </a>
150
- <h4 align='center'><a href='https://twitter.com/Sujan'>Jan Piotrowski</a></h4>
118
+ <h4 align='center'><a href='https://twitter.com/mgrebenets'>Maksym Grebenets</a></h4>
151
119
  </td>
152
- <td id='matthew-ellis'>
153
- <a href='https://github.com/matthewellis'>
154
- <img src='https://github.com/matthewellis.png' width='140px;'>
120
+ <td id='manu-wallner'>
121
+ <a href='https://github.com/milch'>
122
+ <img src='https://github.com/milch.png' width='140px;'>
155
123
  </a>
156
- <h4 align='center'><a href='https://twitter.com/mellis1995'>Matthew Ellis</a></h4>
124
+ <h4 align='center'><a href='https://twitter.com/acrooow'>Manu Wallner</a></h4>
157
125
  </td>
158
- <td id='daniel-jankowski'>
159
- <a href='https://github.com/mollyIV'>
160
- <img src='https://github.com/mollyIV.png' width='140px;'>
126
+ <td id='fumiya-nakamura'>
127
+ <a href='https://github.com/nafu'>
128
+ <img src='https://github.com/nafu.png' width='140px;'>
161
129
  </a>
162
- <h4 align='center'><a href='https://twitter.com/mollyIV'>Daniel Jankowski</a></h4>
130
+ <h4 align='center'><a href='https://twitter.com/nafu003'>Fumiya Nakamura</a></h4>
163
131
  </td>
164
132
  </tr>
165
133
  <tr>
166
- <td id='danielle-tomlinson'>
167
- <a href='https://github.com/endocrimes'>
168
- <img src='https://github.com/endocrimes.png' width='140px;'>
134
+ <td id='andrew-mcburney'>
135
+ <a href='https://github.com/armcburney'>
136
+ <img src='https://github.com/armcburney.png' width='140px;'>
169
137
  </a>
170
- <h4 align='center'><a href='https://twitter.com/endocrimes'>Danielle Tomlinson</a></h4>
138
+ <h4 align='center'><a href='https://twitter.com/armcburney'>Andrew McBurney</a></h4>
139
+ </td>
140
+ <td id='jimmy-dee'>
141
+ <a href='https://github.com/jdee'>
142
+ <img src='https://github.com/jdee.png' width='140px;'>
143
+ </a>
144
+ <h4 align='center'>Jimmy Dee</h4>
171
145
  </td>
172
146
  <td id='joshua-liebowitz'>
173
147
  <a href='https://github.com/taquitos'>
@@ -175,23 +149,49 @@ If the above doesn't help, please [submit an issue](https://github.com/fastlane/
175
149
  </a>
176
150
  <h4 align='center'><a href='https://twitter.com/taquitos'>Joshua Liebowitz</a></h4>
177
151
  </td>
178
- <td id='andrew-mcburney'>
179
- <a href='https://github.com/armcburney'>
180
- <img src='https://github.com/armcburney.png' width='140px;'>
152
+ <td id='manish-rathi'>
153
+ <a href='https://github.com/crazymanish'>
154
+ <img src='https://github.com/crazymanish.png' width='140px;'>
181
155
  </a>
182
- <h4 align='center'><a href='https://twitter.com/armcburney'>Andrew McBurney</a></h4>
156
+ <h4 align='center'><a href='https://twitter.com/iammanishrathi'>Manish Rathi</a></h4>
183
157
  </td>
184
- <td id='jorge-revuelta-h'>
185
- <a href='https://github.com/minuscorp'>
186
- <img src='https://github.com/minuscorp.png' width='140px;'>
158
+ <td id='olivier-halligon'>
159
+ <a href='https://github.com/AliSoftware'>
160
+ <img src='https://github.com/AliSoftware.png' width='140px;'>
187
161
  </a>
188
- <h4 align='center'><a href='https://twitter.com/minuscorp'>Jorge Revuelta H</a></h4>
162
+ <h4 align='center'><a href='https://twitter.com/aligatr'>Olivier Halligon</a></h4>
189
163
  </td>
190
- <td id='fumiya-nakamura'>
191
- <a href='https://github.com/nafu'>
192
- <img src='https://github.com/nafu.png' width='140px;'>
164
+ </tr>
165
+ <tr>
166
+ <td id='stefan-natchev'>
167
+ <a href='https://github.com/snatchev'>
168
+ <img src='https://github.com/snatchev.png' width='140px;'>
193
169
  </a>
194
- <h4 align='center'><a href='https://twitter.com/nafu003'>Fumiya Nakamura</a></h4>
170
+ <h4 align='center'><a href='https://twitter.com/snatchev'>Stefan Natchev</a></h4>
171
+ </td>
172
+ <td id='josh-holtz'>
173
+ <a href='https://github.com/joshdholtz'>
174
+ <img src='https://github.com/joshdholtz.png' width='140px;'>
175
+ </a>
176
+ <h4 align='center'><a href='https://twitter.com/joshdholtz'>Josh Holtz</a></h4>
177
+ </td>
178
+ <td id='helmut-januschka'>
179
+ <a href='https://github.com/hjanuschka'>
180
+ <img src='https://github.com/hjanuschka.png' width='140px;'>
181
+ </a>
182
+ <h4 align='center'><a href='https://twitter.com/hjanuschka'>Helmut Januschka</a></h4>
183
+ </td>
184
+ <td id='iulian-onofrei'>
185
+ <a href='https://github.com/revolter'>
186
+ <img src='https://github.com/revolter.png' width='140px;'>
187
+ </a>
188
+ <h4 align='center'><a href='https://twitter.com/Revolt666'>Iulian Onofrei</a></h4>
189
+ </td>
190
+ <td id='aaron-brager'>
191
+ <a href='https://github.com/getaaron'>
192
+ <img src='https://github.com/getaaron.png' width='140px;'>
193
+ </a>
194
+ <h4 align='center'><a href='https://twitter.com/getaaron'>Aaron Brager</a></h4>
195
195
  </td>
196
196
  </tr>
197
197
  </table>
@@ -157,13 +157,12 @@ module Fastlane
157
157
  description: "Release note for distribution page"),
158
158
  FastlaneCore::ConfigItem.new(key: :disable_notify,
159
159
  optional: true,
160
- is_string: false,
160
+ type: Boolean,
161
161
  default_value: false,
162
162
  env_name: "DEPLOYGATE_DISABLE_NOTIFY",
163
163
  description: "Disables Push notification emails"),
164
164
  FastlaneCore::ConfigItem.new(key: :distribution_name,
165
165
  optional: true,
166
- is_string: true,
167
166
  env_name: "DEPLOYGATE_DISTRIBUTION_NAME",
168
167
  description: "Target Distribution Name")
169
168
  ]
@@ -85,7 +85,7 @@ module Fastlane
85
85
  env_name: "FASTLANE_ITC_TEAM_ID",
86
86
  description: "The ID of your App Store Connect team if you're in multiple teams",
87
87
  optional: true,
88
- is_string: false, # as we also allow integers, which we convert to strings anyway
88
+ skip_type_validation: true, # as we also allow integers, which we convert to strings anyway
89
89
  code_gen_sensitive: true,
90
90
  default_value: CredentialsManager::AppfileConfig.try_fetch_value(:itc_team_id),
91
91
  default_value_dynamic: true),
@@ -253,7 +253,7 @@ module Fastlane
253
253
  env_name: "DOWNLOAD_DSYMS_TEAM_ID",
254
254
  description: "The ID of your App Store Connect team if you're in multiple teams",
255
255
  optional: true,
256
- is_string: false, # as we also allow integers, which we convert to strings anyway
256
+ skip_type_validation: true, # as we also allow integers, which we convert to strings anyway
257
257
  code_gen_sensitive: true,
258
258
  default_value: CredentialsManager::AppfileConfig.try_fetch_value(:itc_team_id),
259
259
  default_value_dynamic: true,
@@ -286,7 +286,7 @@ module Fastlane
286
286
  env_name: "DOWNLOAD_DSYMS_BUILD_NUMBER",
287
287
  description: "The app build_number for dSYMs you wish to download",
288
288
  optional: true,
289
- is_string: false),
289
+ skip_type_validation: true), # as we also allow integers, which we convert to strings anyway
290
290
  FastlaneCore::ConfigItem.new(key: :min_version,
291
291
  short_option: "-m",
292
292
  env_name: "DOWNLOAD_DSYMS_MIN_VERSION",
@@ -296,8 +296,7 @@ module Fastlane
296
296
  short_option: "-d",
297
297
  env_name: "DOWNLOAD_DSYMS_AFTER_UPLOADED_DATE",
298
298
  description: "The uploaded date after which you wish to download dSYMs",
299
- optional: true,
300
- is_string: true),
299
+ optional: true),
301
300
  FastlaneCore::ConfigItem.new(key: :output_directory,
302
301
  short_option: "-s",
303
302
  env_name: "DOWNLOAD_DSYMS_OUTPUT_DIRECTORY",
@@ -61,7 +61,7 @@ module Fastlane
61
61
  description: 'Whether or not all dSYM files are to be included. Optional, default is false in which only your app dSYM is included',
62
62
  default_value: false,
63
63
  optional: true,
64
- is_string: false,
64
+ type: Boolean,
65
65
  env_name: 'DSYM_ZIP_ALL')
66
66
  ]
67
67
  end
@@ -35,7 +35,6 @@ module Fastlane
35
35
  FastlaneCore::ConfigItem.new(key: :branch,
36
36
  env_name: "FL_ENSURE_GIT_BRANCH_NAME",
37
37
  description: "The branch that should be checked for. String that can be either the full name of the branch or a regex e.g. `^feature\/.*$` to match",
38
- is_string: true,
39
38
  default_value: 'master')
40
39
  ]
41
40
  end
@@ -65,18 +65,17 @@ module Fastlane
65
65
  description: "The flag whether to show uncommitted changes if the repo is dirty",
66
66
  optional: true,
67
67
  default_value: false,
68
- is_string: false),
68
+ type: Boolean),
69
69
  FastlaneCore::ConfigItem.new(key: :show_diff,
70
70
  env_name: "FL_ENSURE_GIT_STATUS_CLEAN_SHOW_DIFF",
71
71
  description: "The flag whether to show the git diff if the repo is dirty",
72
72
  optional: true,
73
73
  default_value: false,
74
- is_string: false),
74
+ type: Boolean),
75
75
  FastlaneCore::ConfigItem.new(key: :ignored,
76
76
  env_name: "FL_ENSURE_GIT_STATUS_CLEAN_IGNORED_FILE",
77
77
  description: "The flag whether to ignore file the git status if the repo is dirty",
78
- optional: true,
79
- is_string: true)
78
+ optional: true)
80
79
  ]
81
80
  end
82
81
 
@@ -84,18 +84,16 @@ module Fastlane
84
84
  env_name: "FL_ENSURE_NO_DEBUG_CODE_EXTENSIONS",
85
85
  description: "An array of file extensions that should be searched for",
86
86
  optional: true,
87
- is_string: false),
87
+ type: Array),
88
88
  FastlaneCore::ConfigItem.new(key: :exclude,
89
89
  env_name: "FL_ENSURE_NO_DEBUG_CODE_EXCLUDE",
90
90
  description: "Exclude a certain pattern from the search",
91
- optional: true,
92
- is_string: true),
91
+ optional: true),
93
92
  FastlaneCore::ConfigItem.new(key: :exclude_dirs,
94
93
  env_name: "FL_ENSURE_NO_DEBUG_CODE_EXCLUDE_DIRS",
95
94
  description: "An array of dirs that should not be included in the search",
96
95
  optional: true,
97
- type: Array,
98
- is_string: false)
96
+ type: Array)
99
97
  ]
100
98
  end
101
99
 
@@ -85,7 +85,6 @@ module Fastlane
85
85
  FastlaneCore::ConfigItem.new(key: :version,
86
86
  env_name: "FL_ENSURE_XCODE_VERSION",
87
87
  description: "Xcode version to verify that is selected",
88
- is_string: true,
89
88
  optional: true),
90
89
  FastlaneCore::ConfigItem.new(key: :strict,
91
90
  description: "Should the version be verified strictly (all 3 version numbers), or matching only the given version numbers (i.e. `11.3` == `11.3.x`)",
@@ -109,7 +108,7 @@ module Fastlane
109
108
 
110
109
  def self.example_code
111
110
  [
112
- 'ensure_xcode_version(version: "7.2")'
111
+ 'ensure_xcode_version(version: "12.5")'
113
112
  ]
114
113
  end
115
114
 
@@ -29,27 +29,19 @@ module Fastlane
29
29
 
30
30
  def self.available_options
31
31
  [
32
- FastlaneCore::ConfigItem.new(
33
- key: :set,
34
- env_name: 'FL_ENVIRONMENT_VARIABLE_SET',
35
- description: 'Set the environment variables named',
36
- optional: true,
37
- type: Hash
38
- ),
39
- FastlaneCore::ConfigItem.new(
40
- key: :get,
41
- env_name: 'FL_ENVIRONMENT_VARIABLE_GET',
42
- description: 'Get the environment variable named',
43
- optional: true,
44
- is_string: true
45
- ),
46
- FastlaneCore::ConfigItem.new(
47
- key: :remove,
48
- env_name: 'FL_ENVIRONMENT_VARIABLE_REMOVE',
49
- description: 'Remove the environment variable named',
50
- optional: true,
51
- is_string: true
52
- )
32
+ FastlaneCore::ConfigItem.new(key: :set,
33
+ env_name: 'FL_ENVIRONMENT_VARIABLE_SET',
34
+ description: 'Set the environment variables named',
35
+ optional: true,
36
+ type: Hash),
37
+ FastlaneCore::ConfigItem.new(key: :get,
38
+ env_name: 'FL_ENVIRONMENT_VARIABLE_GET',
39
+ description: 'Get the environment variable named',
40
+ optional: true),
41
+ FastlaneCore::ConfigItem.new(key: :remove,
42
+ env_name: 'FL_ENVIRONMENT_VARIABLE_REMOVE',
43
+ description: 'Remove the environment variable named',
44
+ optional: true)
53
45
  ]
54
46
  end
55
47