fastlane 2.223.0 → 2.224.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 32c31c8cdb5d22c28c22c8c5e87a18bb2b68312b36ea0b313e5da9cfb5ae599d
4
- data.tar.gz: 6248f389a595ffe2b5769b9f948e24f4e350ec086e989205708c0cfa4155301f
3
+ metadata.gz: '03087b990116a12305e2b3d126a79e15c3e363f3e8601024507f9104c04de546'
4
+ data.tar.gz: 7a5d5d31f16469a2b34e902407db12cae37ff17a03e2f244d72ba2027f65ec37
5
5
  SHA512:
6
- metadata.gz: db33d67f27de67d2d5a33a0de04eec412405e6d01f4f879bda83475ff75fd546a61ebe0240011ba9ff9ec992a45347bf5fd6e859da1123529d9cead052ef77eb
7
- data.tar.gz: 2caa48a245eeaf5a7a85c2c35c7cb32b8c1871b37a106fb124c995e3951bd7b781d51c3bf269d85ca4e34e4cc85be5fae538e896a24c5d20a6d4ae63ce6ae237
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
- </tr>
69
- <tr>
70
- <td id='fumiya-nakamura'>
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/nafu003'>Fumiya Nakamura</a></h4>
48
+ <h4 align='center'><a href='https://twitter.com/hjanuschka'>Helmut Januschka</a></h4>
75
49
  </td>
76
- <td id='stefan-natchev'>
77
- <a href='https://github.com/snatchev'>
78
- <img src='https://github.com/snatchev.png' width='140px;'>
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/snatchev'>Stefan Natchev</a></h4>
54
+ <h4 align='center'><a href='https://twitter.com/ott_max'>Max Ott</a></h4>
81
55
  </td>
82
- <td id='jan-piotrowski'>
83
- <a href='https://github.com/janpio'>
84
- <img src='https://github.com/janpio.png' width='140px;'>
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/Sujan'>Jan Piotrowski</a></h4>
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='roger-oba'>
103
- <a href='https://github.com/rogerluan'>
104
- <img src='https://github.com/rogerluan.png' width='140px;'>
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/mgrebenets'>Maksym Grebenets</a></h4>
74
+ <h4 align='center'><a href='https://twitter.com/endocrimes'>Danielle Tomlinson</a></h4>
113
75
  </td>
114
- <td id='luka-mirosevic'>
115
- <a href='https://github.com/lmirosevic'>
116
- <img src='https://github.com/lmirosevic.png' width='140px;'>
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/lmirosevic'>Luka Mirosevic</a></h4>
80
+ <h4 align='center'><a href='https://twitter.com/armcburney'>Andrew McBurney</a></h4>
119
81
  </td>
120
- <td id='max-ott'>
121
- <a href='https://github.com/max-ott'>
122
- <img src='https://github.com/max-ott.png' width='140px;'>
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/ott_max'>Max Ott</a></h4>
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='matthew-ellis'>
135
- <a href='https://github.com/matthewellis'>
136
- <img src='https://github.com/matthewellis.png' width='140px;'>
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/mellis1995'>Matthew Ellis</a></h4>
106
+ <h4 align='center'><a href='https://twitter.com/minuscorp'>Jorge Revuelta H</a></h4>
139
107
  </td>
140
- <td id='aaron-brager'>
141
- <a href='https://github.com/getaaron'>
142
- <img src='https://github.com/getaaron.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/getaaron'>Aaron Brager</a></h4>
112
+ <h4 align='center'><a href='https://twitter.com/rogerluan_'>Roger Oba</a></h4>
145
113
  </td>
146
- <td id='danielle-tomlinson'>
147
- <a href='https://github.com/endocrimes'>
148
- <img src='https://github.com/endocrimes.png' width='140px;'>
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/endocrimes'>Danielle Tomlinson</a></h4>
118
+ <h4 align='center'><a href='https://twitter.com/ainame'>Satoshi Namai</a></h4>
151
119
  </td>
152
- <td id='andrew-mcburney'>
153
- <a href='https://github.com/armcburney'>
154
- <img src='https://github.com/armcburney.png' width='140px;'>
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/armcburney'>Andrew McBurney</a></h4>
124
+ <h4 align='center'><a href='https://twitter.com/mellis1995'>Matthew Ellis</a></h4>
157
125
  </td>
158
- <td id='jorge-revuelta-h'>
159
- <a href='https://github.com/minuscorp'>
160
- <img src='https://github.com/minuscorp.png' width='140px;'>
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/minuscorp'>Jorge Revuelta H</a></h4>
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='daniel-jankowski'>
167
- <a href='https://github.com/mollyIV'>
168
- <img src='https://github.com/mollyIV.png' width='140px;'>
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'><a href='https://twitter.com/hjanuschka'>Helmut Januschka</a></h4>
138
+ <h4 align='center'>Jimmy Dee</h4>
177
139
  </td>
178
- <td id='satoshi-namai'>
179
- <a href='https://github.com/ainame'>
180
- <img src='https://github.com/ainame.png' width='140px;'>
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/ainame'>Satoshi Namai</a></h4>
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='jimmy-dee'>
199
- <a href='https://github.com/jdee'>
200
- <img src='https://github.com/jdee.png' width='140px;'>
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'>Jimmy Dee</h4>
202
+ <h4 align='center'><a href='https://twitter.com/mgrebenets'>Maksym Grebenets</a></h4>
203
203
  </td>
204
204
  </table>
205
205
 
@@ -1,3 +1,5 @@
1
+ require 'ostruct'
2
+
1
3
  module Fastlane
2
4
  class ErbTemplateHelper
3
5
  require "erb"
@@ -1,5 +1,5 @@
1
1
  module Fastlane
2
- VERSION = '2.223.0'.freeze
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
@@ -17,4 +17,4 @@ public class Deliverfile: DeliverfileProtocol {
17
17
  // during the `init` process, and you won't see this message
18
18
  }
19
19
 
20
- // Generated with fastlane 2.223.0
20
+ // Generated with fastlane 2.224.0
@@ -272,4 +272,4 @@ public extension DeliverfileProtocol {
272
272
 
273
273
  // Please don't remove the lines below
274
274
  // They are used to detect outdated files
275
- // FastlaneRunnerAPIVersion [0.9.128]
275
+ // FastlaneRunnerAPIVersion [0.9.130]
@@ -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.181]
13864
+ // FastlaneRunnerAPIVersion [0.9.183]
@@ -17,4 +17,4 @@ public class Gymfile: GymfileProtocol {
17
17
  // during the `init` process, and you won't see this message
18
18
  }
19
19
 
20
- // Generated with fastlane 2.223.0
20
+ // Generated with fastlane 2.224.0
@@ -212,4 +212,4 @@ public extension GymfileProtocol {
212
212
 
213
213
  // Please don't remove the lines below
214
214
  // They are used to detect outdated files
215
- // FastlaneRunnerAPIVersion [0.9.131]
215
+ // FastlaneRunnerAPIVersion [0.9.133]
@@ -40,7 +40,11 @@ open class LaneFile: NSObject, LaneFileProtocol {
40
40
  return String(laneName.prefix(laneName.count - 12))
41
41
  }
42
42
 
43
- public func onError(currentLane: String, errorInfo _: String, errorClass _: String?, errorMessage _: String?) {
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
 
@@ -17,4 +17,4 @@ public class Matchfile: MatchfileProtocol {
17
17
  // during the `init` process, and you won't see this message
18
18
  }
19
19
 
20
- // Generated with fastlane 2.223.0
20
+ // Generated with fastlane 2.224.0
@@ -232,4 +232,4 @@ public extension MatchfileProtocol {
232
232
 
233
233
  // Please don't remove the lines below
234
234
  // They are used to detect outdated files
235
- // FastlaneRunnerAPIVersion [0.9.125]
235
+ // FastlaneRunnerAPIVersion [0.9.127]
@@ -17,4 +17,4 @@ public class Precheckfile: PrecheckfileProtocol {
17
17
  // during the `init` process, and you won't see this message
18
18
  }
19
19
 
20
- // Generated with fastlane 2.223.0
20
+ // Generated with fastlane 2.224.0
@@ -52,4 +52,4 @@ public extension PrecheckfileProtocol {
52
52
 
53
53
  // Please don't remove the lines below
54
54
  // They are used to detect outdated files
55
- // FastlaneRunnerAPIVersion [0.9.124]
55
+ // FastlaneRunnerAPIVersion [0.9.126]
@@ -17,4 +17,4 @@ public class Scanfile: ScanfileProtocol {
17
17
  // during the `init` process, and you won't see this message
18
18
  }
19
19
 
20
- // Generated with fastlane 2.223.0
20
+ // Generated with fastlane 2.224.0
@@ -324,4 +324,4 @@ public extension ScanfileProtocol {
324
324
 
325
325
  // Please don't remove the lines below
326
326
  // They are used to detect outdated files
327
- // FastlaneRunnerAPIVersion [0.9.136]
327
+ // FastlaneRunnerAPIVersion [0.9.138]
@@ -17,4 +17,4 @@ public class Screengrabfile: ScreengrabfileProtocol {
17
17
  // during the `init` process, and you won't see this message
18
18
  }
19
19
 
20
- // Generated with fastlane 2.223.0
20
+ // Generated with fastlane 2.224.0
@@ -96,4 +96,4 @@ public extension ScreengrabfileProtocol {
96
96
 
97
97
  // Please don't remove the lines below
98
98
  // They are used to detect outdated files
99
- // FastlaneRunnerAPIVersion [0.9.126]
99
+ // FastlaneRunnerAPIVersion [0.9.128]
@@ -17,4 +17,4 @@ public class Snapshotfile: SnapshotfileProtocol {
17
17
  // during the `init` process, and you won't see this message
18
18
  }
19
19
 
20
- // Generated with fastlane 2.223.0
20
+ // Generated with fastlane 2.224.0
@@ -208,4 +208,4 @@ public extension SnapshotfileProtocol {
208
208
 
209
209
  // Please don't remove the lines below
210
210
  // They are used to detect outdated files
211
- // FastlaneRunnerAPIVersion [0.9.120]
211
+ // FastlaneRunnerAPIVersion [0.9.122]
@@ -87,7 +87,7 @@
87
87
  "macOS": "13.6"
88
88
  },
89
89
  "sonoma": {
90
- "HOMEBREW_VERSION": "4.3.24",
90
+ "HOMEBREW_VERSION": "4.4.0",
91
91
  "HOMEBREW_PREFIX": "/opt/homebrew",
92
92
  "Homebrew/homebrew-core": "api",
93
93
  "CLT": "16.0.0.0.1.1724870825",
@@ -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
- s3_client.find_bucket!(s3_bucket).objects(prefix: s3_object_prefix).each do |object|
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.gsub(/^#{s3_object_prefix}/, "")
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.223.0
4
+ version: 2.224.0
5
5
  platform: ruby
6
6
  authors:
7
- - Manish Rathi
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
- - Luka Mirosevic
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
- - Olivier Halligon
32
+ - Roger Oba
33
33
  autorequire:
34
34
  bindir: bin
35
35
  cert_chain: []
36
- date: 2024-09-26 00:00:00.000000000 Z
36
+ date: 2024-10-03 00:00:00.000000000 Z
37
37
  dependencies:
38
38
  - !ruby/object:Gem::Dependency
39
39
  name: addressable