fastlane 2.220.0 → 2.221.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +100 -100
- data/deliver/lib/deliver/submit_for_review.rb +2 -2
- data/fastlane/lib/fastlane/actions/app_store_connect_api_key.rb +2 -1
- data/fastlane/lib/fastlane/actions/spm.rb +7 -0
- data/fastlane/lib/fastlane/lane_manager_base.rb +16 -8
- data/fastlane/lib/fastlane/runner.rb +2 -2
- data/fastlane/lib/fastlane/version.rb +1 -1
- data/fastlane/swift/Deliverfile.swift +1 -1
- data/fastlane/swift/DeliverfileProtocol.swift +1 -1
- data/fastlane/swift/Fastlane.swift +9 -5
- data/fastlane/swift/Gymfile.swift +1 -1
- data/fastlane/swift/GymfileProtocol.swift +1 -1
- data/fastlane/swift/Matchfile.swift +1 -1
- data/fastlane/swift/MatchfileProtocol.swift +1 -1
- data/fastlane/swift/Precheckfile.swift +1 -1
- data/fastlane/swift/PrecheckfileProtocol.swift +1 -1
- data/fastlane/swift/Scanfile.swift +1 -1
- data/fastlane/swift/ScanfileProtocol.swift +1 -1
- data/fastlane/swift/Screengrabfile.swift +1 -1
- data/fastlane/swift/ScreengrabfileProtocol.swift +1 -1
- data/fastlane/swift/Snapshotfile.swift +1 -1
- data/fastlane/swift/SnapshotfileProtocol.swift +1 -1
- data/fastlane/swift/formatting/Brewfile.lock.json +19 -19
- data/fastlane_core/lib/fastlane_core/ui/implementations/shell.rb +2 -0
- data/match/lib/match/runner.rb +0 -1
- data/pilot/lib/pilot/build_manager.rb +9 -4
- data/spaceship/lib/spaceship/connect_api/api_client.rb +1 -1
- data/spaceship/lib/spaceship/connect_api/models/app.rb +28 -33
- data/spaceship/lib/spaceship/connect_api/provisioning/client.rb +1 -1
- data/spaceship/lib/spaceship/connect_api/provisioning/provisioning.rb +31 -22
- data/spaceship/lib/spaceship/connect_api/testflight/client.rb +1 -1
- data/spaceship/lib/spaceship/connect_api/testflight/testflight.rb +47 -43
- data/spaceship/lib/spaceship/connect_api/token.rb +7 -2
- data/spaceship/lib/spaceship/connect_api/tunes/client.rb +1 -1
- data/spaceship/lib/spaceship/connect_api/tunes/tunes.rb +96 -90
- data/spaceship/lib/spaceship/connect_api/users/client.rb +1 -1
- data/spaceship/lib/spaceship/connect_api/users/users.rb +15 -11
- data/spaceship/lib/spaceship/stats_middleware.rb +2 -2
- metadata +24 -24
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: acc49f980e34ecc25b6072476316fec87d28cc297821ba0a97456186f7464d28
|
|
4
|
+
data.tar.gz: f9d8e7d4752ea516634aace406c63f972cf162d7162dc9967480f0582e9c4866
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 4412e52410d0082b59032b34e38c62e90d4a26ad6c9fdd86169b6546b1ade46e4536f90d9eb39afed28f766ac31713cf5577cf2af3ef90bde818ffb49ca0ee7d
|
|
7
|
+
data.tar.gz: 228d527f5c0956e4f84ab797a12ace580d52e2632a957a829e0b2996012caf55998221441a0b9c8d2d25ccacc992a682ce22e36eb40cb98748be70fb3242a3c0
|
data/README.md
CHANGED
|
@@ -35,119 +35,75 @@ 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='joshua-liebowitz'>
|
|
39
|
+
<a href='https://github.com/taquitos'>
|
|
40
|
+
<img src='https://github.com/taquitos.png' width='140px;'>
|
|
41
|
+
</a>
|
|
42
|
+
<h4 align='center'><a href='https://twitter.com/taquitos'>Joshua Liebowitz</a></h4>
|
|
43
|
+
</td>
|
|
38
44
|
<td id='iulian-onofrei'>
|
|
39
45
|
<a href='https://github.com/revolter'>
|
|
40
46
|
<img src='https://github.com/revolter.png' width='140px;'>
|
|
41
47
|
</a>
|
|
42
48
|
<h4 align='center'><a href='https://twitter.com/Revolt666'>Iulian Onofrei</a></h4>
|
|
43
49
|
</td>
|
|
44
|
-
<td id='
|
|
45
|
-
<a href='https://github.com/
|
|
46
|
-
<img src='https://github.com/
|
|
47
|
-
</a>
|
|
48
|
-
<h4 align='center'><a href='https://twitter.com/acrooow'>Manu Wallner</a></h4>
|
|
49
|
-
</td>
|
|
50
|
-
<td id='fumiya-nakamura'>
|
|
51
|
-
<a href='https://github.com/nafu'>
|
|
52
|
-
<img src='https://github.com/nafu.png' width='140px;'>
|
|
53
|
-
</a>
|
|
54
|
-
<h4 align='center'><a href='https://twitter.com/nafu003'>Fumiya Nakamura</a></h4>
|
|
55
|
-
</td>
|
|
56
|
-
<td id='helmut-januschka'>
|
|
57
|
-
<a href='https://github.com/hjanuschka'>
|
|
58
|
-
<img src='https://github.com/hjanuschka.png' width='140px;'>
|
|
50
|
+
<td id='maksym-grebenets'>
|
|
51
|
+
<a href='https://github.com/mgrebenets'>
|
|
52
|
+
<img src='https://github.com/mgrebenets.png' width='140px;'>
|
|
59
53
|
</a>
|
|
60
|
-
<h4 align='center'><a href='https://twitter.com/
|
|
54
|
+
<h4 align='center'><a href='https://twitter.com/mgrebenets'>Maksym Grebenets</a></h4>
|
|
61
55
|
</td>
|
|
62
|
-
<td id='
|
|
63
|
-
<a href='https://github.com/
|
|
64
|
-
<img src='https://github.com/
|
|
56
|
+
<td id='roger-oba'>
|
|
57
|
+
<a href='https://github.com/rogerluan'>
|
|
58
|
+
<img src='https://github.com/rogerluan.png' width='140px;'>
|
|
65
59
|
</a>
|
|
66
|
-
<h4 align='center'><a href='https://twitter.com/
|
|
60
|
+
<h4 align='center'><a href='https://twitter.com/rogerluan_'>Roger Oba</a></h4>
|
|
67
61
|
</td>
|
|
68
|
-
</tr>
|
|
69
|
-
<tr>
|
|
70
62
|
<td id='jan-piotrowski'>
|
|
71
63
|
<a href='https://github.com/janpio'>
|
|
72
64
|
<img src='https://github.com/janpio.png' width='140px;'>
|
|
73
65
|
</a>
|
|
74
66
|
<h4 align='center'><a href='https://twitter.com/Sujan'>Jan Piotrowski</a></h4>
|
|
75
67
|
</td>
|
|
76
|
-
<td id='daniel-jankowski'>
|
|
77
|
-
<a href='https://github.com/mollyIV'>
|
|
78
|
-
<img src='https://github.com/mollyIV.png' width='140px;'>
|
|
79
|
-
</a>
|
|
80
|
-
<h4 align='center'><a href='https://twitter.com/mollyIV'>Daniel Jankowski</a></h4>
|
|
81
|
-
</td>
|
|
82
|
-
<td id='łukasz-grabowski'>
|
|
83
|
-
<a href='https://github.com/lucgrabowski'>
|
|
84
|
-
<img src='https://github.com/lucgrabowski.png' width='140px;'>
|
|
85
|
-
</a>
|
|
86
|
-
<h4 align='center'>Łukasz Grabowski</h4>
|
|
87
|
-
</td>
|
|
88
|
-
<td id='maksym-grebenets'>
|
|
89
|
-
<a href='https://github.com/mgrebenets'>
|
|
90
|
-
<img src='https://github.com/mgrebenets.png' width='140px;'>
|
|
91
|
-
</a>
|
|
92
|
-
<h4 align='center'><a href='https://twitter.com/mgrebenets'>Maksym Grebenets</a></h4>
|
|
93
|
-
</td>
|
|
94
|
-
<td id='stefan-natchev'>
|
|
95
|
-
<a href='https://github.com/snatchev'>
|
|
96
|
-
<img src='https://github.com/snatchev.png' width='140px;'>
|
|
97
|
-
</a>
|
|
98
|
-
<h4 align='center'><a href='https://twitter.com/snatchev'>Stefan Natchev</a></h4>
|
|
99
|
-
</td>
|
|
100
68
|
</tr>
|
|
101
69
|
<tr>
|
|
102
|
-
<td id='
|
|
103
|
-
<a href='https://github.com/
|
|
104
|
-
<img src='https://github.com/
|
|
70
|
+
<td id='jimmy-dee'>
|
|
71
|
+
<a href='https://github.com/jdee'>
|
|
72
|
+
<img src='https://github.com/jdee.png' width='140px;'>
|
|
105
73
|
</a>
|
|
106
|
-
<h4 align='center'
|
|
74
|
+
<h4 align='center'>Jimmy Dee</h4>
|
|
107
75
|
</td>
|
|
108
|
-
<td id='
|
|
109
|
-
<a href='https://github.com/
|
|
110
|
-
<img src='https://github.com/
|
|
76
|
+
<td id='satoshi-namai'>
|
|
77
|
+
<a href='https://github.com/ainame'>
|
|
78
|
+
<img src='https://github.com/ainame.png' width='140px;'>
|
|
111
79
|
</a>
|
|
112
|
-
<h4 align='center'><a href='https://twitter.com/
|
|
80
|
+
<h4 align='center'><a href='https://twitter.com/ainame'>Satoshi Namai</a></h4>
|
|
113
81
|
</td>
|
|
114
|
-
<td id='
|
|
115
|
-
<a href='https://github.com/
|
|
116
|
-
<img src='https://github.com/
|
|
82
|
+
<td id='manu-wallner'>
|
|
83
|
+
<a href='https://github.com/milch'>
|
|
84
|
+
<img src='https://github.com/milch.png' width='140px;'>
|
|
117
85
|
</a>
|
|
118
|
-
<h4 align='center'><a href='https://twitter.com/
|
|
86
|
+
<h4 align='center'><a href='https://twitter.com/acrooow'>Manu Wallner</a></h4>
|
|
119
87
|
</td>
|
|
120
|
-
<td id='
|
|
121
|
-
<a href='https://github.com/
|
|
122
|
-
<img src='https://github.com/
|
|
88
|
+
<td id='jorge-revuelta-h'>
|
|
89
|
+
<a href='https://github.com/minuscorp'>
|
|
90
|
+
<img src='https://github.com/minuscorp.png' width='140px;'>
|
|
123
91
|
</a>
|
|
124
|
-
<h4 align='center'><a href='https://twitter.com/
|
|
92
|
+
<h4 align='center'><a href='https://twitter.com/minuscorp'>Jorge Revuelta H</a></h4>
|
|
125
93
|
</td>
|
|
126
|
-
<td id='
|
|
127
|
-
<a href='https://github.com/
|
|
128
|
-
<img src='https://github.com/
|
|
94
|
+
<td id='fumiya-nakamura'>
|
|
95
|
+
<a href='https://github.com/nafu'>
|
|
96
|
+
<img src='https://github.com/nafu.png' width='140px;'>
|
|
129
97
|
</a>
|
|
130
|
-
<h4 align='center'><a href='https://twitter.com/
|
|
98
|
+
<h4 align='center'><a href='https://twitter.com/nafu003'>Fumiya Nakamura</a></h4>
|
|
131
99
|
</td>
|
|
132
100
|
</tr>
|
|
133
101
|
<tr>
|
|
134
|
-
<td id='
|
|
135
|
-
<a href='https://github.com/
|
|
136
|
-
<img src='https://github.com/
|
|
137
|
-
</a>
|
|
138
|
-
<h4 align='center'><a href='https://twitter.com/getaaron'>Aaron Brager</a></h4>
|
|
139
|
-
</td>
|
|
140
|
-
<td id='roger-oba'>
|
|
141
|
-
<a href='https://github.com/rogerluan'>
|
|
142
|
-
<img src='https://github.com/rogerluan.png' width='140px;'>
|
|
143
|
-
</a>
|
|
144
|
-
<h4 align='center'><a href='https://twitter.com/rogerluan_'>Roger Oba</a></h4>
|
|
145
|
-
</td>
|
|
146
|
-
<td id='luka-mirosevic'>
|
|
147
|
-
<a href='https://github.com/lmirosevic'>
|
|
148
|
-
<img src='https://github.com/lmirosevic.png' width='140px;'>
|
|
102
|
+
<td id='łukasz-grabowski'>
|
|
103
|
+
<a href='https://github.com/lucgrabowski'>
|
|
104
|
+
<img src='https://github.com/lucgrabowski.png' width='140px;'>
|
|
149
105
|
</a>
|
|
150
|
-
<h4 align='center'
|
|
106
|
+
<h4 align='center'>Łukasz Grabowski</h4>
|
|
151
107
|
</td>
|
|
152
108
|
<td id='matthew-ellis'>
|
|
153
109
|
<a href='https://github.com/matthewellis'>
|
|
@@ -155,19 +111,37 @@ If the above doesn't help, please [submit an issue](https://github.com/fastlane/
|
|
|
155
111
|
</a>
|
|
156
112
|
<h4 align='center'><a href='https://twitter.com/mellis1995'>Matthew Ellis</a></h4>
|
|
157
113
|
</td>
|
|
158
|
-
<td id='
|
|
159
|
-
<a href='https://github.com/
|
|
160
|
-
<img src='https://github.com/
|
|
114
|
+
<td id='olivier-halligon'>
|
|
115
|
+
<a href='https://github.com/AliSoftware'>
|
|
116
|
+
<img src='https://github.com/AliSoftware.png' width='140px;'>
|
|
161
117
|
</a>
|
|
162
|
-
<h4 align='center'><a href='https://twitter.com/
|
|
118
|
+
<h4 align='center'><a href='https://twitter.com/aligatr'>Olivier Halligon</a></h4>
|
|
119
|
+
</td>
|
|
120
|
+
<td id='aaron-brager'>
|
|
121
|
+
<a href='https://github.com/getaaron'>
|
|
122
|
+
<img src='https://github.com/getaaron.png' width='140px;'>
|
|
123
|
+
</a>
|
|
124
|
+
<h4 align='center'><a href='https://twitter.com/getaaron'>Aaron Brager</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>
|
|
163
131
|
</td>
|
|
164
132
|
</tr>
|
|
165
133
|
<tr>
|
|
166
|
-
<td id='
|
|
167
|
-
<a href='https://github.com/
|
|
168
|
-
<img src='https://github.com/
|
|
134
|
+
<td id='jérôme-lacoste'>
|
|
135
|
+
<a href='https://github.com/lacostej'>
|
|
136
|
+
<img src='https://github.com/lacostej.png' width='140px;'>
|
|
169
137
|
</a>
|
|
170
|
-
<h4 align='center'>
|
|
138
|
+
<h4 align='center'><a href='https://twitter.com/lacostej'>Jérôme Lacoste</a></h4>
|
|
139
|
+
</td>
|
|
140
|
+
<td id='stefan-natchev'>
|
|
141
|
+
<a href='https://github.com/snatchev'>
|
|
142
|
+
<img src='https://github.com/snatchev.png' width='140px;'>
|
|
143
|
+
</a>
|
|
144
|
+
<h4 align='center'><a href='https://twitter.com/snatchev'>Stefan Natchev</a></h4>
|
|
171
145
|
</td>
|
|
172
146
|
<td id='max-ott'>
|
|
173
147
|
<a href='https://github.com/max-ott'>
|
|
@@ -175,32 +149,58 @@ 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/ott_max'>Max Ott</a></h4>
|
|
177
151
|
</td>
|
|
178
|
-
<td id='
|
|
179
|
-
<a href='https://github.com/
|
|
180
|
-
<img src='https://github.com/
|
|
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/
|
|
156
|
+
<h4 align='center'><a href='https://twitter.com/iammanishrathi'>Manish Rathi</a></h4>
|
|
183
157
|
</td>
|
|
184
|
-
<td id='
|
|
185
|
-
<a href='https://github.com/
|
|
186
|
-
<img src='https://github.com/
|
|
158
|
+
<td id='kohki-miki'>
|
|
159
|
+
<a href='https://github.com/giginet'>
|
|
160
|
+
<img src='https://github.com/giginet.png' width='140px;'>
|
|
187
161
|
</a>
|
|
188
|
-
<h4 align='center'><a href='https://twitter.com/
|
|
162
|
+
<h4 align='center'><a href='https://twitter.com/giginet'>Kohki Miki</a></h4>
|
|
189
163
|
</td>
|
|
164
|
+
</tr>
|
|
165
|
+
<tr>
|
|
190
166
|
<td id='danielle-tomlinson'>
|
|
191
167
|
<a href='https://github.com/endocrimes'>
|
|
192
168
|
<img src='https://github.com/endocrimes.png' width='140px;'>
|
|
193
169
|
</a>
|
|
194
170
|
<h4 align='center'><a href='https://twitter.com/endocrimes'>Danielle Tomlinson</a></h4>
|
|
195
171
|
</td>
|
|
196
|
-
|
|
197
|
-
<
|
|
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='felix-krause'>
|
|
179
|
+
<a href='https://github.com/KrauseFx'>
|
|
180
|
+
<img src='https://github.com/KrauseFx.png' width='140px;'>
|
|
181
|
+
</a>
|
|
182
|
+
<h4 align='center'><a href='https://twitter.com/KrauseFx'>Felix Krause</a></h4>
|
|
183
|
+
</td>
|
|
184
|
+
<td id='daniel-jankowski'>
|
|
185
|
+
<a href='https://github.com/mollyIV'>
|
|
186
|
+
<img src='https://github.com/mollyIV.png' width='140px;'>
|
|
187
|
+
</a>
|
|
188
|
+
<h4 align='center'><a href='https://twitter.com/mollyIV'>Daniel Jankowski</a></h4>
|
|
189
|
+
</td>
|
|
198
190
|
<td id='andrew-mcburney'>
|
|
199
191
|
<a href='https://github.com/armcburney'>
|
|
200
192
|
<img src='https://github.com/armcburney.png' width='140px;'>
|
|
201
193
|
</a>
|
|
202
194
|
<h4 align='center'><a href='https://twitter.com/armcburney'>Andrew McBurney</a></h4>
|
|
203
195
|
</td>
|
|
196
|
+
</tr>
|
|
197
|
+
<tr>
|
|
198
|
+
<td id='luka-mirosevic'>
|
|
199
|
+
<a href='https://github.com/lmirosevic'>
|
|
200
|
+
<img src='https://github.com/lmirosevic.png' width='140px;'>
|
|
201
|
+
</a>
|
|
202
|
+
<h4 align='center'><a href='https://twitter.com/lmirosevic'>Luka Mirosevic</a></h4>
|
|
203
|
+
</td>
|
|
204
204
|
</table>
|
|
205
205
|
|
|
206
206
|
Special thanks to all [contributors](https://github.com/fastlane/fastlane/graphs/contributors) for extending and improving _fastlane_.
|
|
@@ -51,11 +51,11 @@ module Deliver
|
|
|
51
51
|
10.times do
|
|
52
52
|
version_with_latest_info = Spaceship::ConnectAPI::AppStoreVersion.get(app_store_version_id: version.id)
|
|
53
53
|
|
|
54
|
-
if version_with_latest_info.
|
|
54
|
+
if version_with_latest_info.app_version_state == Spaceship::ConnectAPI::AppStoreVersion::AppVersionState::READY_FOR_REVIEW
|
|
55
55
|
break
|
|
56
56
|
end
|
|
57
57
|
|
|
58
|
-
UI.message("Waiting for the state of the version to become #{Spaceship::ConnectAPI::AppStoreVersion::
|
|
58
|
+
UI.message("Waiting for the state of the version to become #{Spaceship::ConnectAPI::AppStoreVersion::AppVersionState::READY_FOR_REVIEW}...")
|
|
59
59
|
|
|
60
60
|
sleep(15)
|
|
61
61
|
end
|
|
@@ -56,7 +56,8 @@ module Fastlane
|
|
|
56
56
|
description: "The key ID"),
|
|
57
57
|
FastlaneCore::ConfigItem.new(key: :issuer_id,
|
|
58
58
|
env_name: "APP_STORE_CONNECT_API_KEY_ISSUER_ID",
|
|
59
|
-
description: "The issuer ID"
|
|
59
|
+
description: "The issuer ID. It can be nil if the key is individual API key",
|
|
60
|
+
optional: true),
|
|
60
61
|
FastlaneCore::ConfigItem.new(key: :key_filepath,
|
|
61
62
|
env_name: "APP_STORE_CONNECT_API_KEY_KEY_FILEPATH",
|
|
62
63
|
description: "The path to the key p8 file",
|
|
@@ -11,6 +11,7 @@ module Fastlane
|
|
|
11
11
|
cmd << "--configuration #{params[:configuration]}" if params[:configuration]
|
|
12
12
|
cmd << "--disable-sandbox" if params[:disable_sandbox]
|
|
13
13
|
cmd << "--verbose" if params[:verbose]
|
|
14
|
+
cmd << "--very-verbose" if params[:very_verbose]
|
|
14
15
|
if params[:simulator]
|
|
15
16
|
simulator_platform = simulator_platform(simulator: params[:simulator], simulator_arch: params[:simulator_arch])
|
|
16
17
|
simulator_sdk = simulator_sdk(simulator: params[:simulator])
|
|
@@ -118,6 +119,12 @@ module Fastlane
|
|
|
118
119
|
description: "Increase verbosity of informational output",
|
|
119
120
|
type: Boolean,
|
|
120
121
|
default_value: false),
|
|
122
|
+
FastlaneCore::ConfigItem.new(key: :very_verbose,
|
|
123
|
+
short_option: "-V",
|
|
124
|
+
env_name: "FL_SPM_VERY_VERBOSE",
|
|
125
|
+
description: "Increase verbosity to include debug output",
|
|
126
|
+
type: Boolean,
|
|
127
|
+
default_value: false),
|
|
121
128
|
FastlaneCore::ConfigItem.new(key: :simulator,
|
|
122
129
|
env_name: "FL_SPM_SIMULATOR",
|
|
123
130
|
description: "Specifies the simulator to pass for Swift Compiler (one of: #{valid_simulators.join(', ')})",
|
|
@@ -78,15 +78,23 @@ module Fastlane
|
|
|
78
78
|
end
|
|
79
79
|
|
|
80
80
|
def self.print_error_line(ex)
|
|
81
|
-
|
|
82
|
-
return if
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
81
|
+
lines = ex.backtrace_locations&.select { |loc| loc.path == 'Fastfile' }&.map(&:lineno)
|
|
82
|
+
return if lines.nil? || lines.empty?
|
|
83
|
+
|
|
84
|
+
fastfile_content = File.read(FastlaneCore::FastlaneFolder.fastfile_path, encoding: "utf-8")
|
|
85
|
+
if ex.backtrace_locations.first&.path == 'Fastfile'
|
|
86
|
+
# If exception happened directly in the Fastfile itself (e.g. ArgumentError)
|
|
87
|
+
UI.error("Error in your Fastfile at line #{lines.first}")
|
|
88
|
+
UI.content_error(fastfile_content, lines.first)
|
|
89
|
+
lines.shift
|
|
90
|
+
end
|
|
86
91
|
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
92
|
+
unless lines.empty?
|
|
93
|
+
# If exception happened directly in the Fastfile, also print the caller (still from the Fastfile).
|
|
94
|
+
# If exception happened in _fastlane_ internal code, print the line from the Fastfile that called it
|
|
95
|
+
UI.error("Called from Fastfile at line #{lines.first}")
|
|
96
|
+
UI.content_error(fastfile_content, lines.first)
|
|
97
|
+
end
|
|
90
98
|
end
|
|
91
99
|
end
|
|
92
100
|
end
|
|
@@ -40,13 +40,13 @@ module Fastlane
|
|
|
40
40
|
return_val = nil
|
|
41
41
|
|
|
42
42
|
path_to_use = FastlaneCore::FastlaneFolder.path || Dir.pwd
|
|
43
|
-
parameters ||= {}
|
|
43
|
+
parameters ||= {} # by default no parameters
|
|
44
44
|
begin
|
|
45
45
|
Dir.chdir(path_to_use) do # the file is located in the fastlane folder
|
|
46
46
|
execute_flow_block(before_all_blocks, current_platform, current_lane, parameters)
|
|
47
47
|
execute_flow_block(before_each_blocks, current_platform, current_lane, parameters)
|
|
48
48
|
|
|
49
|
-
return_val = lane_obj.call(parameters)
|
|
49
|
+
return_val = lane_obj.call(parameters)
|
|
50
50
|
|
|
51
51
|
# after blocks are only called if no exception was raised before
|
|
52
52
|
# Call the platform specific after block and then the general one
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
module Fastlane
|
|
2
|
-
VERSION = '2.
|
|
2
|
+
VERSION = '2.221.0'.freeze
|
|
3
3
|
SUMMARY = "The easiest way to build and release mobile apps.".freeze
|
|
4
4
|
DESCRIPTION = "The easiest way to automate beta deployments and releases for your iOS and Android apps".freeze
|
|
5
5
|
MINIMUM_XCODE_RELEASE = "7.0".freeze
|
|
@@ -190,7 +190,7 @@ public func appStoreBuildNumber(apiKeyPath: OptionalConfigValue<String?> = .fast
|
|
|
190
190
|
|
|
191
191
|
- parameters:
|
|
192
192
|
- keyId: The key ID
|
|
193
|
-
- issuerId: The issuer ID
|
|
193
|
+
- issuerId: The issuer ID. It can be nil if the key is individual API key
|
|
194
194
|
- keyFilepath: The path to the key p8 file
|
|
195
195
|
- keyContent: The content of the key p8 file
|
|
196
196
|
- isKeyContentBase64: Whether :key_content is Base64 encoded or not
|
|
@@ -201,7 +201,7 @@ public func appStoreBuildNumber(apiKeyPath: OptionalConfigValue<String?> = .fast
|
|
|
201
201
|
Load the App Store Connect API token to use in other fastlane tools and actions
|
|
202
202
|
*/
|
|
203
203
|
public func appStoreConnectApiKey(keyId: String,
|
|
204
|
-
issuerId: String,
|
|
204
|
+
issuerId: OptionalConfigValue<String?> = .fastlaneDefault(nil),
|
|
205
205
|
keyFilepath: OptionalConfigValue<String?> = .fastlaneDefault(nil),
|
|
206
206
|
keyContent: OptionalConfigValue<String?> = .fastlaneDefault(nil),
|
|
207
207
|
isKeyContentBase64: OptionalConfigValue<Bool> = .fastlaneDefault(false),
|
|
@@ -210,7 +210,7 @@ public func appStoreConnectApiKey(keyId: String,
|
|
|
210
210
|
setSpaceshipToken: OptionalConfigValue<Bool> = .fastlaneDefault(true))
|
|
211
211
|
{
|
|
212
212
|
let keyIdArg = RubyCommand.Argument(name: "key_id", value: keyId, type: nil)
|
|
213
|
-
let issuerIdArg =
|
|
213
|
+
let issuerIdArg = issuerId.asRubyArgument(name: "issuer_id", type: nil)
|
|
214
214
|
let keyFilepathArg = keyFilepath.asRubyArgument(name: "key_filepath", type: nil)
|
|
215
215
|
let keyContentArg = keyContent.asRubyArgument(name: "key_content", type: nil)
|
|
216
216
|
let isKeyContentBase64Arg = isKeyContentBase64.asRubyArgument(name: "is_key_content_base64", type: nil)
|
|
@@ -10938,6 +10938,7 @@ public func splunkmint(dsym: OptionalConfigValue<String?> = .fastlaneDefault(nil
|
|
|
10938
10938
|
- xcprettyOutput: Specifies the output type for xcpretty. eg. 'test', or 'simple'
|
|
10939
10939
|
- xcprettyArgs: Pass in xcpretty additional command line arguments (e.g. '--test --no-color' or '--tap --no-utf'), requires xcpretty_output to be specified also
|
|
10940
10940
|
- verbose: Increase verbosity of informational output
|
|
10941
|
+
- veryVerbose: Increase verbosity to include debug output
|
|
10941
10942
|
- simulator: Specifies the simulator to pass for Swift Compiler (one of: iphonesimulator, macosx)
|
|
10942
10943
|
- simulatorArch: Specifies the architecture of the simulator to pass for Swift Compiler (one of: x86_64, arm64). Requires the simulator option to be specified also, otherwise, it's ignored
|
|
10943
10944
|
*/
|
|
@@ -10953,6 +10954,7 @@ public func spm(command: String = "build",
|
|
|
10953
10954
|
xcprettyOutput: OptionalConfigValue<String?> = .fastlaneDefault(nil),
|
|
10954
10955
|
xcprettyArgs: OptionalConfigValue<String?> = .fastlaneDefault(nil),
|
|
10955
10956
|
verbose: OptionalConfigValue<Bool> = .fastlaneDefault(false),
|
|
10957
|
+
veryVerbose: OptionalConfigValue<Bool> = .fastlaneDefault(false),
|
|
10956
10958
|
simulator: OptionalConfigValue<String?> = .fastlaneDefault(nil),
|
|
10957
10959
|
simulatorArch: String = "arm64")
|
|
10958
10960
|
{
|
|
@@ -10968,6 +10970,7 @@ public func spm(command: String = "build",
|
|
|
10968
10970
|
let xcprettyOutputArg = xcprettyOutput.asRubyArgument(name: "xcpretty_output", type: nil)
|
|
10969
10971
|
let xcprettyArgsArg = xcprettyArgs.asRubyArgument(name: "xcpretty_args", type: nil)
|
|
10970
10972
|
let verboseArg = verbose.asRubyArgument(name: "verbose", type: nil)
|
|
10973
|
+
let veryVerboseArg = veryVerbose.asRubyArgument(name: "very_verbose", type: nil)
|
|
10971
10974
|
let simulatorArg = simulator.asRubyArgument(name: "simulator", type: nil)
|
|
10972
10975
|
let simulatorArchArg = RubyCommand.Argument(name: "simulator_arch", value: simulatorArch, type: nil)
|
|
10973
10976
|
let array: [RubyCommand.Argument?] = [commandArg,
|
|
@@ -10982,6 +10985,7 @@ public func spm(command: String = "build",
|
|
|
10982
10985
|
xcprettyOutputArg,
|
|
10983
10986
|
xcprettyArgsArg,
|
|
10984
10987
|
verboseArg,
|
|
10988
|
+
veryVerboseArg,
|
|
10985
10989
|
simulatorArg,
|
|
10986
10990
|
simulatorArchArg]
|
|
10987
10991
|
let args: [RubyCommand.Argument] = array
|
|
@@ -13594,7 +13598,7 @@ public func xcov(workspace: OptionalConfigValue<String?> = .fastlaneDefault(nil)
|
|
|
13594
13598
|
coverallsServiceJobId: OptionalConfigValue<String?> = .fastlaneDefault(nil),
|
|
13595
13599
|
coverallsRepoToken: OptionalConfigValue<String?> = .fastlaneDefault(nil),
|
|
13596
13600
|
xcconfig: OptionalConfigValue<String?> = .fastlaneDefault(nil),
|
|
13597
|
-
ideFoundationPath: String = "/Applications/
|
|
13601
|
+
ideFoundationPath: String = "/Applications/Xcode_15.0.1.app/Contents/Developer/../Frameworks/IDEFoundation.framework/Versions/A/IDEFoundation",
|
|
13598
13602
|
legacySupport: OptionalConfigValue<Bool> = .fastlaneDefault(false))
|
|
13599
13603
|
{
|
|
13600
13604
|
let workspaceArg = workspace.asRubyArgument(name: "workspace", type: nil)
|
|
@@ -13797,4 +13801,4 @@ public let snapshotfile: Snapshotfile = .init()
|
|
|
13797
13801
|
|
|
13798
13802
|
// Please don't remove the lines below
|
|
13799
13803
|
// They are used to detect outdated files
|
|
13800
|
-
// FastlaneRunnerAPIVersion [0.9.
|
|
13804
|
+
// FastlaneRunnerAPIVersion [0.9.178]
|