fastlane 2.223.0 → 2.224.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/fastlane/lib/fastlane/erb_template_helper.rb +2 -0
- 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 +1 -1
- data/fastlane/swift/Gymfile.swift +1 -1
- data/fastlane/swift/GymfileProtocol.swift +1 -1
- data/fastlane/swift/LaneFileProtocol.swift +5 -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 +1 -1
- data/fastlane_core/lib/fastlane_core/build_watcher.rb +5 -0
- data/match/lib/match/storage/s3_storage.rb +5 -2
- data/spaceship/lib/spaceship/connect_api/api_client.rb +1 -1
- data/spaceship/lib/spaceship/connect_api/token.rb +2 -1
- data/spaceship/lib/spaceship/stats_middleware.rb +1 -0
- metadata +19 -19
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: '03087b990116a12305e2b3d126a79e15c3e363f3e8601024507f9104c04de546'
|
|
4
|
+
data.tar.gz: 7a5d5d31f16469a2b34e902407db12cae37ff17a03e2f244d72ba2027f65ec37
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 22a7c5805f0811df1d989d32e178264b668acee3d2047944e5fb2457a055b352c5684b7ad0c6335c33051bda2e516b06a62a2d50c6b8a26303c3f3043468b509
|
|
7
|
+
data.tar.gz: 5daafa423e4afb1e8a52031b01756f5d2564bbee30140ce171747005a0de73b54f4042272022337ef3a2ee44d474fdf849cacd1548bf1b937783438b905d3480
|
data/README.md
CHANGED
|
@@ -35,55 +35,29 @@ 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='iulian-onofrei'>
|
|
39
|
-
<a href='https://github.com/revolter'>
|
|
40
|
-
<img src='https://github.com/revolter.png' width='140px;'>
|
|
41
|
-
</a>
|
|
42
|
-
<h4 align='center'><a href='https://twitter.com/Revolt666'>Iulian Onofrei</a></h4>
|
|
43
|
-
</td>
|
|
44
|
-
<td id='josh-holtz'>
|
|
45
|
-
<a href='https://github.com/joshdholtz'>
|
|
46
|
-
<img src='https://github.com/joshdholtz.png' width='140px;'>
|
|
47
|
-
</a>
|
|
48
|
-
<h4 align='center'><a href='https://twitter.com/joshdholtz'>Josh Holtz</a></h4>
|
|
49
|
-
</td>
|
|
50
|
-
<td id='kohki-miki'>
|
|
51
|
-
<a href='https://github.com/giginet'>
|
|
52
|
-
<img src='https://github.com/giginet.png' width='140px;'>
|
|
53
|
-
</a>
|
|
54
|
-
<h4 align='center'><a href='https://twitter.com/giginet'>Kohki Miki</a></h4>
|
|
55
|
-
</td>
|
|
56
|
-
<td id='łukasz-grabowski'>
|
|
57
|
-
<a href='https://github.com/lucgrabowski'>
|
|
58
|
-
<img src='https://github.com/lucgrabowski.png' width='140px;'>
|
|
59
|
-
</a>
|
|
60
|
-
<h4 align='center'>Łukasz Grabowski</h4>
|
|
61
|
-
</td>
|
|
62
38
|
<td id='manu-wallner'>
|
|
63
39
|
<a href='https://github.com/milch'>
|
|
64
40
|
<img src='https://github.com/milch.png' width='140px;'>
|
|
65
41
|
</a>
|
|
66
42
|
<h4 align='center'><a href='https://twitter.com/acrooow'>Manu Wallner</a></h4>
|
|
67
43
|
</td>
|
|
68
|
-
|
|
69
|
-
<
|
|
70
|
-
<
|
|
71
|
-
<a href='https://github.com/nafu'>
|
|
72
|
-
<img src='https://github.com/nafu.png' width='140px;'>
|
|
44
|
+
<td id='helmut-januschka'>
|
|
45
|
+
<a href='https://github.com/hjanuschka'>
|
|
46
|
+
<img src='https://github.com/hjanuschka.png' width='140px;'>
|
|
73
47
|
</a>
|
|
74
|
-
<h4 align='center'><a href='https://twitter.com/
|
|
48
|
+
<h4 align='center'><a href='https://twitter.com/hjanuschka'>Helmut Januschka</a></h4>
|
|
75
49
|
</td>
|
|
76
|
-
<td id='
|
|
77
|
-
<a href='https://github.com/
|
|
78
|
-
<img src='https://github.com/
|
|
50
|
+
<td id='max-ott'>
|
|
51
|
+
<a href='https://github.com/max-ott'>
|
|
52
|
+
<img src='https://github.com/max-ott.png' width='140px;'>
|
|
79
53
|
</a>
|
|
80
|
-
<h4 align='center'><a href='https://twitter.com/
|
|
54
|
+
<h4 align='center'><a href='https://twitter.com/ott_max'>Max Ott</a></h4>
|
|
81
55
|
</td>
|
|
82
|
-
<td id='
|
|
83
|
-
<a href='https://github.com/
|
|
84
|
-
<img src='https://github.com/
|
|
56
|
+
<td id='olivier-halligon'>
|
|
57
|
+
<a href='https://github.com/AliSoftware'>
|
|
58
|
+
<img src='https://github.com/AliSoftware.png' width='140px;'>
|
|
85
59
|
</a>
|
|
86
|
-
<h4 align='center'><a href='https://twitter.com/
|
|
60
|
+
<h4 align='center'><a href='https://twitter.com/aligatr'>Olivier Halligon</a></h4>
|
|
87
61
|
</td>
|
|
88
62
|
<td id='felix-krause'>
|
|
89
63
|
<a href='https://github.com/KrauseFx'>
|
|
@@ -91,37 +65,25 @@ If the above doesn't help, please [submit an issue](https://github.com/fastlane/
|
|
|
91
65
|
</a>
|
|
92
66
|
<h4 align='center'><a href='https://twitter.com/KrauseFx'>Felix Krause</a></h4>
|
|
93
67
|
</td>
|
|
94
|
-
<td id='olivier-halligon'>
|
|
95
|
-
<a href='https://github.com/AliSoftware'>
|
|
96
|
-
<img src='https://github.com/AliSoftware.png' width='140px;'>
|
|
97
|
-
</a>
|
|
98
|
-
<h4 align='center'><a href='https://twitter.com/aligatr'>Olivier Halligon</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/
|
|
105
|
-
</a>
|
|
106
|
-
<h4 align='center'><a href='https://twitter.com/rogerluan_'>Roger Oba</a></h4>
|
|
107
|
-
</td>
|
|
108
|
-
<td id='maksym-grebenets'>
|
|
109
|
-
<a href='https://github.com/mgrebenets'>
|
|
110
|
-
<img src='https://github.com/mgrebenets.png' width='140px;'>
|
|
70
|
+
<td id='danielle-tomlinson'>
|
|
71
|
+
<a href='https://github.com/endocrimes'>
|
|
72
|
+
<img src='https://github.com/endocrimes.png' width='140px;'>
|
|
111
73
|
</a>
|
|
112
|
-
<h4 align='center'><a href='https://twitter.com/
|
|
74
|
+
<h4 align='center'><a href='https://twitter.com/endocrimes'>Danielle Tomlinson</a></h4>
|
|
113
75
|
</td>
|
|
114
|
-
<td id='
|
|
115
|
-
<a href='https://github.com/
|
|
116
|
-
<img src='https://github.com/
|
|
76
|
+
<td id='andrew-mcburney'>
|
|
77
|
+
<a href='https://github.com/armcburney'>
|
|
78
|
+
<img src='https://github.com/armcburney.png' width='140px;'>
|
|
117
79
|
</a>
|
|
118
|
-
<h4 align='center'><a href='https://twitter.com/
|
|
80
|
+
<h4 align='center'><a href='https://twitter.com/armcburney'>Andrew McBurney</a></h4>
|
|
119
81
|
</td>
|
|
120
|
-
<td id='
|
|
121
|
-
<a href='https://github.com/
|
|
122
|
-
<img src='https://github.com/
|
|
82
|
+
<td id='josh-holtz'>
|
|
83
|
+
<a href='https://github.com/joshdholtz'>
|
|
84
|
+
<img src='https://github.com/joshdholtz.png' width='140px;'>
|
|
123
85
|
</a>
|
|
124
|
-
<h4 align='center'><a href='https://twitter.com/
|
|
86
|
+
<h4 align='center'><a href='https://twitter.com/joshdholtz'>Josh Holtz</a></h4>
|
|
125
87
|
</td>
|
|
126
88
|
<td id='joshua-liebowitz'>
|
|
127
89
|
<a href='https://github.com/taquitos'>
|
|
@@ -129,57 +91,57 @@ If the above doesn't help, please [submit an issue](https://github.com/fastlane/
|
|
|
129
91
|
</a>
|
|
130
92
|
<h4 align='center'><a href='https://twitter.com/taquitos'>Joshua Liebowitz</a></h4>
|
|
131
93
|
</td>
|
|
94
|
+
<td id='fumiya-nakamura'>
|
|
95
|
+
<a href='https://github.com/nafu'>
|
|
96
|
+
<img src='https://github.com/nafu.png' width='140px;'>
|
|
97
|
+
</a>
|
|
98
|
+
<h4 align='center'><a href='https://twitter.com/nafu003'>Fumiya Nakamura</a></h4>
|
|
99
|
+
</td>
|
|
132
100
|
</tr>
|
|
133
101
|
<tr>
|
|
134
|
-
<td id='
|
|
135
|
-
<a href='https://github.com/
|
|
136
|
-
<img src='https://github.com/
|
|
102
|
+
<td id='jorge-revuelta-h'>
|
|
103
|
+
<a href='https://github.com/minuscorp'>
|
|
104
|
+
<img src='https://github.com/minuscorp.png' width='140px;'>
|
|
137
105
|
</a>
|
|
138
|
-
<h4 align='center'><a href='https://twitter.com/
|
|
106
|
+
<h4 align='center'><a href='https://twitter.com/minuscorp'>Jorge Revuelta H</a></h4>
|
|
139
107
|
</td>
|
|
140
|
-
<td id='
|
|
141
|
-
<a href='https://github.com/
|
|
142
|
-
<img src='https://github.com/
|
|
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/
|
|
112
|
+
<h4 align='center'><a href='https://twitter.com/rogerluan_'>Roger Oba</a></h4>
|
|
145
113
|
</td>
|
|
146
|
-
<td id='
|
|
147
|
-
<a href='https://github.com/
|
|
148
|
-
<img src='https://github.com/
|
|
114
|
+
<td id='satoshi-namai'>
|
|
115
|
+
<a href='https://github.com/ainame'>
|
|
116
|
+
<img src='https://github.com/ainame.png' width='140px;'>
|
|
149
117
|
</a>
|
|
150
|
-
<h4 align='center'><a href='https://twitter.com/
|
|
118
|
+
<h4 align='center'><a href='https://twitter.com/ainame'>Satoshi Namai</a></h4>
|
|
151
119
|
</td>
|
|
152
|
-
<td id='
|
|
153
|
-
<a href='https://github.com/
|
|
154
|
-
<img src='https://github.com/
|
|
120
|
+
<td id='matthew-ellis'>
|
|
121
|
+
<a href='https://github.com/matthewellis'>
|
|
122
|
+
<img src='https://github.com/matthewellis.png' width='140px;'>
|
|
155
123
|
</a>
|
|
156
|
-
<h4 align='center'><a href='https://twitter.com/
|
|
124
|
+
<h4 align='center'><a href='https://twitter.com/mellis1995'>Matthew Ellis</a></h4>
|
|
157
125
|
</td>
|
|
158
|
-
<td id='
|
|
159
|
-
<a href='https://github.com/
|
|
160
|
-
<img src='https://github.com/
|
|
126
|
+
<td id='kohki-miki'>
|
|
127
|
+
<a href='https://github.com/giginet'>
|
|
128
|
+
<img src='https://github.com/giginet.png' width='140px;'>
|
|
161
129
|
</a>
|
|
162
|
-
<h4 align='center'><a href='https://twitter.com/
|
|
130
|
+
<h4 align='center'><a href='https://twitter.com/giginet'>Kohki Miki</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/
|
|
169
|
-
</a>
|
|
170
|
-
<h4 align='center'><a href='https://twitter.com/mollyIV'>Daniel Jankowski</a></h4>
|
|
171
|
-
</td>
|
|
172
|
-
<td id='helmut-januschka'>
|
|
173
|
-
<a href='https://github.com/hjanuschka'>
|
|
174
|
-
<img src='https://github.com/hjanuschka.png' width='140px;'>
|
|
134
|
+
<td id='jimmy-dee'>
|
|
135
|
+
<a href='https://github.com/jdee'>
|
|
136
|
+
<img src='https://github.com/jdee.png' width='140px;'>
|
|
175
137
|
</a>
|
|
176
|
-
<h4 align='center'
|
|
138
|
+
<h4 align='center'>Jimmy Dee</h4>
|
|
177
139
|
</td>
|
|
178
|
-
<td id='
|
|
179
|
-
<a href='https://github.com/
|
|
180
|
-
<img src='https://github.com/
|
|
140
|
+
<td id='stefan-natchev'>
|
|
141
|
+
<a href='https://github.com/snatchev'>
|
|
142
|
+
<img src='https://github.com/snatchev.png' width='140px;'>
|
|
181
143
|
</a>
|
|
182
|
-
<h4 align='center'><a href='https://twitter.com/
|
|
144
|
+
<h4 align='center'><a href='https://twitter.com/snatchev'>Stefan Natchev</a></h4>
|
|
183
145
|
</td>
|
|
184
146
|
<td id='manish-rathi'>
|
|
185
147
|
<a href='https://github.com/crazymanish'>
|
|
@@ -187,19 +149,57 @@ If the above doesn't help, please [submit an issue](https://github.com/fastlane/
|
|
|
187
149
|
</a>
|
|
188
150
|
<h4 align='center'><a href='https://twitter.com/iammanishrathi'>Manish Rathi</a></h4>
|
|
189
151
|
</td>
|
|
152
|
+
<td id='daniel-jankowski'>
|
|
153
|
+
<a href='https://github.com/mollyIV'>
|
|
154
|
+
<img src='https://github.com/mollyIV.png' width='140px;'>
|
|
155
|
+
</a>
|
|
156
|
+
<h4 align='center'><a href='https://twitter.com/mollyIV'>Daniel Jankowski</a></h4>
|
|
157
|
+
</td>
|
|
158
|
+
<td id='luka-mirosevic'>
|
|
159
|
+
<a href='https://github.com/lmirosevic'>
|
|
160
|
+
<img src='https://github.com/lmirosevic.png' width='140px;'>
|
|
161
|
+
</a>
|
|
162
|
+
<h4 align='center'><a href='https://twitter.com/lmirosevic'>Luka Mirosevic</a></h4>
|
|
163
|
+
</td>
|
|
164
|
+
</tr>
|
|
165
|
+
<tr>
|
|
190
166
|
<td id='jérôme-lacoste'>
|
|
191
167
|
<a href='https://github.com/lacostej'>
|
|
192
168
|
<img src='https://github.com/lacostej.png' width='140px;'>
|
|
193
169
|
</a>
|
|
194
170
|
<h4 align='center'><a href='https://twitter.com/lacostej'>Jérôme Lacoste</a></h4>
|
|
195
171
|
</td>
|
|
172
|
+
<td id='łukasz-grabowski'>
|
|
173
|
+
<a href='https://github.com/lucgrabowski'>
|
|
174
|
+
<img src='https://github.com/lucgrabowski.png' width='140px;'>
|
|
175
|
+
</a>
|
|
176
|
+
<h4 align='center'>Łukasz Grabowski</h4>
|
|
177
|
+
</td>
|
|
178
|
+
<td id='aaron-brager'>
|
|
179
|
+
<a href='https://github.com/getaaron'>
|
|
180
|
+
<img src='https://github.com/getaaron.png' width='140px;'>
|
|
181
|
+
</a>
|
|
182
|
+
<h4 align='center'><a href='https://twitter.com/getaaron'>Aaron Brager</a></h4>
|
|
183
|
+
</td>
|
|
184
|
+
<td id='jan-piotrowski'>
|
|
185
|
+
<a href='https://github.com/janpio'>
|
|
186
|
+
<img src='https://github.com/janpio.png' width='140px;'>
|
|
187
|
+
</a>
|
|
188
|
+
<h4 align='center'><a href='https://twitter.com/Sujan'>Jan Piotrowski</a></h4>
|
|
189
|
+
</td>
|
|
190
|
+
<td id='iulian-onofrei'>
|
|
191
|
+
<a href='https://github.com/revolter'>
|
|
192
|
+
<img src='https://github.com/revolter.png' width='140px;'>
|
|
193
|
+
</a>
|
|
194
|
+
<h4 align='center'><a href='https://twitter.com/Revolt666'>Iulian Onofrei</a></h4>
|
|
195
|
+
</td>
|
|
196
196
|
</tr>
|
|
197
197
|
<tr>
|
|
198
|
-
<td id='
|
|
199
|
-
<a href='https://github.com/
|
|
200
|
-
<img src='https://github.com/
|
|
198
|
+
<td id='maksym-grebenets'>
|
|
199
|
+
<a href='https://github.com/mgrebenets'>
|
|
200
|
+
<img src='https://github.com/mgrebenets.png' width='140px;'>
|
|
201
201
|
</a>
|
|
202
|
-
<h4 align='center'>
|
|
202
|
+
<h4 align='center'><a href='https://twitter.com/mgrebenets'>Maksym Grebenets</a></h4>
|
|
203
203
|
</td>
|
|
204
204
|
</table>
|
|
205
205
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
module Fastlane
|
|
2
|
-
VERSION = '2.
|
|
2
|
+
VERSION = '2.224.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
|
|
@@ -13861,4 +13861,4 @@ public let snapshotfile: Snapshotfile = .init()
|
|
|
13861
13861
|
|
|
13862
13862
|
// Please don't remove the lines below
|
|
13863
13863
|
// They are used to detect outdated files
|
|
13864
|
-
// FastlaneRunnerAPIVersion [0.9.
|
|
13864
|
+
// FastlaneRunnerAPIVersion [0.9.183]
|
|
@@ -40,7 +40,11 @@ open class LaneFile: NSObject, LaneFileProtocol {
|
|
|
40
40
|
return String(laneName.prefix(laneName.count - 12))
|
|
41
41
|
}
|
|
42
42
|
|
|
43
|
-
|
|
43
|
+
open func beforeAll(with _: String) {}
|
|
44
|
+
|
|
45
|
+
open func afterAll(with _: String) {}
|
|
46
|
+
|
|
47
|
+
open func onError(currentLane: String, errorInfo _: String, errorClass _: String?, errorMessage _: String?) {
|
|
44
48
|
LaneFile.onErrorCalled.insert(currentLane)
|
|
45
49
|
}
|
|
46
50
|
|
|
@@ -116,6 +116,11 @@ module FastlaneCore
|
|
|
116
116
|
# Raise error if more than 1 build is returned
|
|
117
117
|
# This should never happen but need to inform the user if it does
|
|
118
118
|
matched_builds = version_matches.map(&:builds).flatten
|
|
119
|
+
|
|
120
|
+
# Need to filter out duplicate builds (which could be a result from the double X.Y.0 and X.Y queries)
|
|
121
|
+
# See: https://github.com/fastlane/fastlane/issues/22248
|
|
122
|
+
matched_builds = matched_builds.uniq(&:id)
|
|
123
|
+
|
|
119
124
|
if matched_builds.size > 1 && !select_latest
|
|
120
125
|
error_builds = matched_builds.map do |build|
|
|
121
126
|
"#{build.app_version}(#{build.version}) for #{build.platform} - #{build.processing_state}"
|
|
@@ -101,8 +101,11 @@ module Match
|
|
|
101
101
|
# No existing working directory, creating a new one now
|
|
102
102
|
self.working_directory = Dir.mktmpdir
|
|
103
103
|
|
|
104
|
-
|
|
104
|
+
# If team_id is defined, use `:team/` as a prefix (appending it at the end of the `s3_object_prefix` if one provided by the user),
|
|
105
|
+
# so that we limit the download to only files that are specific to this team, and avoid downloads + decryption of unnecessary files.
|
|
106
|
+
key_prefix = team_id.nil? ? s3_object_prefix : File.join(s3_object_prefix, team_id, '').delete_prefix('/')
|
|
105
107
|
|
|
108
|
+
s3_client.find_bucket!(s3_bucket).objects(prefix: key_prefix).each do |object|
|
|
106
109
|
# Prevent download if the file path is a directory.
|
|
107
110
|
# We need to check if string ends with "/" instead of using `File.directory?` because
|
|
108
111
|
# the string represent a remote location, not a local file in disk.
|
|
@@ -181,7 +184,7 @@ module Match
|
|
|
181
184
|
end
|
|
182
185
|
|
|
183
186
|
def strip_s3_object_prefix(object_path)
|
|
184
|
-
object_path.
|
|
187
|
+
object_path.delete_prefix(s3_object_prefix.to_s).delete_prefix('/')
|
|
185
188
|
end
|
|
186
189
|
|
|
187
190
|
def sanitize_file_name(file_name)
|
|
@@ -69,7 +69,7 @@ module Spaceship
|
|
|
69
69
|
# Forwarding to class level if using web session.
|
|
70
70
|
def hostname
|
|
71
71
|
if @token
|
|
72
|
-
return "https://api.appstoreconnect.apple.com/"
|
|
72
|
+
return @token.in_house ? "https://api.enterprise.developer.apple.com/" : "https://api.appstoreconnect.apple.com/"
|
|
73
73
|
end
|
|
74
74
|
return self.class.hostname
|
|
75
75
|
end
|
|
@@ -29,6 +29,7 @@ module Spaceship
|
|
|
29
29
|
attr_accessor :in_house
|
|
30
30
|
|
|
31
31
|
def self.from(hash: nil, filepath: nil)
|
|
32
|
+
# FIXME: Ensure `in_house` value is a boolean.
|
|
32
33
|
api_token ||= self.create(**hash.transform_keys(&:to_sym)) if hash
|
|
33
34
|
api_token ||= self.from_json_file(filepath) if filepath
|
|
34
35
|
return api_token
|
|
@@ -101,7 +102,7 @@ module Spaceship
|
|
|
101
102
|
# Reduce the issued-at-time in case our time is slighly ahead of Apple's servers, which causes the token to be rejected.
|
|
102
103
|
iat: now.to_i - 60,
|
|
103
104
|
exp: @expiration.to_i,
|
|
104
|
-
aud: 'appstoreconnect-v1'
|
|
105
|
+
aud: @in_house ? 'apple-developer-enterprise-v1' : 'appstoreconnect-v1'
|
|
105
106
|
}
|
|
106
107
|
if issuer_id
|
|
107
108
|
payload[:iss] = issuer_id
|
|
@@ -18,6 +18,7 @@ module Spaceship
|
|
|
18
18
|
@services ||= [
|
|
19
19
|
ServiceOption.new("App Store Connect API (official)", "api.appstoreconnect.apple.com", "JWT"),
|
|
20
20
|
ServiceOption.new("App Store Connect API (web session)", Spaceship::ConnectAPI::TestFlight::Client.hostname.gsub("https://", ""), "Web session"),
|
|
21
|
+
ServiceOption.new("Enterprise Program API (official)", "api.enterprise.developer.apple.com", "JWT"),
|
|
21
22
|
ServiceOption.new("Legacy iTunesConnect Auth", "idmsa.apple.com", "Web session"),
|
|
22
23
|
ServiceOption.new("Legacy iTunesConnect Auth", "appstoreconnect.apple.com/olympus/v1/", "Web session"),
|
|
23
24
|
ServiceOption.new("Legacy iTunesConnect", Spaceship::TunesClient.hostname.gsub("https://", ""), "Web session"),
|
metadata
CHANGED
|
@@ -1,39 +1,39 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: fastlane
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 2.
|
|
4
|
+
version: 2.224.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
|
-
-
|
|
8
|
-
- Daniel Jankowski
|
|
9
|
-
- Jimmy Dee
|
|
10
|
-
- Iulian Onofrei
|
|
7
|
+
- Maksym Grebenets
|
|
11
8
|
- Aaron Brager
|
|
9
|
+
- Iulian Onofrei
|
|
10
|
+
- Andrew McBurney
|
|
11
|
+
- Daniel Jankowski
|
|
12
|
+
- Manu Wallner
|
|
13
|
+
- Felix Krause
|
|
14
|
+
- Jérôme Lacoste
|
|
12
15
|
- Helmut Januschka
|
|
13
|
-
- Jorge Revuelta H
|
|
14
|
-
- Maksym Grebenets
|
|
15
16
|
- Max Ott
|
|
16
|
-
- Kohki Miki
|
|
17
17
|
- Satoshi Namai
|
|
18
18
|
- Josh Holtz
|
|
19
|
-
-
|
|
19
|
+
- Kohki Miki
|
|
20
|
+
- Manish Rathi
|
|
21
|
+
- Jorge Revuelta H
|
|
20
22
|
- Fumiya Nakamura
|
|
21
|
-
- Manu Wallner
|
|
22
|
-
- Roger Oba
|
|
23
|
-
- Felix Krause
|
|
24
|
-
- Joshua Liebowitz
|
|
25
|
-
- Stefan Natchev
|
|
26
|
-
- Jérôme Lacoste
|
|
27
|
-
- Matthew Ellis
|
|
28
|
-
- Andrew McBurney
|
|
29
23
|
- Łukasz Grabowski
|
|
24
|
+
- Jimmy Dee
|
|
25
|
+
- Olivier Halligon
|
|
26
|
+
- Stefan Natchev
|
|
30
27
|
- Jan Piotrowski
|
|
28
|
+
- Joshua Liebowitz
|
|
29
|
+
- Luka Mirosevic
|
|
30
|
+
- Matthew Ellis
|
|
31
31
|
- Danielle Tomlinson
|
|
32
|
-
-
|
|
32
|
+
- Roger Oba
|
|
33
33
|
autorequire:
|
|
34
34
|
bindir: bin
|
|
35
35
|
cert_chain: []
|
|
36
|
-
date: 2024-
|
|
36
|
+
date: 2024-10-03 00:00:00.000000000 Z
|
|
37
37
|
dependencies:
|
|
38
38
|
- !ruby/object:Gem::Dependency
|
|
39
39
|
name: addressable
|