fastlane 2.239.0 → 2.240.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 +98 -98
- data/deliver/lib/deliver/runner.rb +5 -4
- data/fastlane/lib/fastlane/actions/build_and_upload_to_appetize.rb +3 -1
- data/fastlane/lib/fastlane/actions/lcov.rb +3 -1
- data/fastlane/lib/fastlane/actions/spaceship_logs.rb +4 -2
- data/fastlane/lib/fastlane/actions/swiftlint.rb +6 -3
- data/fastlane/lib/fastlane/actions/update_project_provisioning.rb +3 -1
- 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 +38 -2
- data/fastlane/swift/Gymfile.swift +1 -1
- data/fastlane/swift/GymfileProtocol.swift +8 -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 +8 -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 +8 -1
- data/fastlane_core/lib/fastlane_core/fastlane_pty.rb +20 -7
- data/fastlane_core/lib/fastlane_core/ipa_file_analyser.rb +1 -1
- data/fastlane_core/lib/fastlane_core/itunes_transporter.rb +16 -13
- data/fastlane_core/lib/fastlane_core/project.rb +19 -0
- data/gym/lib/gym/options.rb +5 -0
- data/scan/lib/scan/options.rb +5 -0
- data/snapshot/lib/snapshot/options.rb +5 -0
- data/spaceship/lib/spaceship/client.rb +137 -15
- data/spaceship/lib/spaceship/du/upload_file.rb +4 -3
- data/trainer/lib/trainer/xcresult/helper.rb +27 -13
- metadata +27 -27
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 7467cf01821db5d82582d55e830e209b07d0c3ed4793686fb31e91bba27b66a1
|
|
4
|
+
data.tar.gz: b517b0bdb057a42827caa42ba504cd450d3e40169c8191c280cee8c6ab2544b8
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 683a57ea89b9bf4ae28def60d5bbfaa5221081dac34e840bf4c597f3788f7b8c295237a0862847a519aedd28ef51ffa7fb4da1a576afd2654e5548761ccf4b51
|
|
7
|
+
data.tar.gz: 9c436bf7d1ba66d55a8d68aeb38caf6d3c1d56fd5c48c90cd5642865163d80ddbe367f0b9cc4ddd18477b9f95d40ed733b9965cc42a9f16928774c490114ebd7
|
data/README.md
CHANGED
|
@@ -36,49 +36,43 @@ If the above doesn't help, please [submit an issue](https://github.com/fastlane/
|
|
|
36
36
|
<!-- This table is regenerated and resorted on each release -->
|
|
37
37
|
<table id='team'>
|
|
38
38
|
<tr>
|
|
39
|
-
<td id='
|
|
40
|
-
<a href='https://github.com/
|
|
41
|
-
<img src='https://github.com/
|
|
39
|
+
<td id='danielle-tomlinson'>
|
|
40
|
+
<a href='https://github.com/endocrimes'>
|
|
41
|
+
<img src='https://github.com/endocrimes.png' width='140px;'>
|
|
42
42
|
</a>
|
|
43
|
-
<h4 align='center'><a href='https://twitter.com/
|
|
43
|
+
<h4 align='center'><a href='https://twitter.com/endocrimes'>Danielle Tomlinson</a></h4>
|
|
44
44
|
</td>
|
|
45
|
-
<td id='
|
|
46
|
-
<a href='https://github.com/
|
|
47
|
-
<img src='https://github.com/
|
|
45
|
+
<td id='connor-tumbleson'>
|
|
46
|
+
<a href='https://github.com/ibotpeaches'>
|
|
47
|
+
<img src='https://github.com/ibotpeaches.png' width='140px;'>
|
|
48
48
|
</a>
|
|
49
|
-
<h4 align='center'><a href='https://twitter.com/
|
|
49
|
+
<h4 align='center'><a href='https://twitter.com/ibotpeaches'>Connor Tumbleson</a></h4>
|
|
50
50
|
</td>
|
|
51
|
-
<td id='
|
|
52
|
-
<a href='https://github.com/
|
|
53
|
-
<img src='https://github.com/
|
|
51
|
+
<td id='luka-mirosevic'>
|
|
52
|
+
<a href='https://github.com/lmirosevic'>
|
|
53
|
+
<img src='https://github.com/lmirosevic.png' width='140px;'>
|
|
54
54
|
</a>
|
|
55
|
-
<h4 align='center'><a href='https://twitter.com/
|
|
55
|
+
<h4 align='center'><a href='https://twitter.com/lmirosevic'>Luka Mirosevic</a></h4>
|
|
56
56
|
</td>
|
|
57
|
-
<td id='
|
|
58
|
-
<a href='https://github.com/
|
|
59
|
-
<img src='https://github.com/
|
|
57
|
+
<td id='iulian-onofrei'>
|
|
58
|
+
<a href='https://github.com/revolter'>
|
|
59
|
+
<img src='https://github.com/revolter.png' width='140px;'>
|
|
60
60
|
</a>
|
|
61
|
-
<h4 align='center'><a href='https://twitter.com/
|
|
61
|
+
<h4 align='center'><a href='https://twitter.com/Revolt666'>Iulian Onofrei</a></h4>
|
|
62
62
|
</td>
|
|
63
|
-
<td id='
|
|
64
|
-
<a href='https://github.com/
|
|
65
|
-
<img src='https://github.com/
|
|
63
|
+
<td id='fumiya-nakamura'>
|
|
64
|
+
<a href='https://github.com/nafu'>
|
|
65
|
+
<img src='https://github.com/nafu.png' width='140px;'>
|
|
66
66
|
</a>
|
|
67
|
-
<h4 align='center'><a href='https://twitter.com/
|
|
67
|
+
<h4 align='center'><a href='https://twitter.com/nafu003'>Fumiya Nakamura</a></h4>
|
|
68
68
|
</td>
|
|
69
69
|
</tr>
|
|
70
70
|
<tr>
|
|
71
|
-
<td id='
|
|
72
|
-
<a href='https://github.com/
|
|
73
|
-
<img src='https://github.com/
|
|
74
|
-
</a>
|
|
75
|
-
<h4 align='center'><a href='https://twitter.com/rogerluan_'>Roger Oba</a></h4>
|
|
76
|
-
</td>
|
|
77
|
-
<td id='max-ott'>
|
|
78
|
-
<a href='https://github.com/max-ott'>
|
|
79
|
-
<img src='https://github.com/max-ott.png' width='140px;'>
|
|
71
|
+
<td id='jérôme-lacoste'>
|
|
72
|
+
<a href='https://github.com/lacostej'>
|
|
73
|
+
<img src='https://github.com/lacostej.png' width='140px;'>
|
|
80
74
|
</a>
|
|
81
|
-
<h4 align='center'><a href='https://twitter.com/
|
|
75
|
+
<h4 align='center'><a href='https://twitter.com/lacostej'>Jérôme Lacoste</a></h4>
|
|
82
76
|
</td>
|
|
83
77
|
<td id='aaron-brager'>
|
|
84
78
|
<a href='https://github.com/getaaron'>
|
|
@@ -86,43 +80,43 @@ If the above doesn't help, please [submit an issue](https://github.com/fastlane/
|
|
|
86
80
|
</a>
|
|
87
81
|
<h4 align='center'><a href='https://twitter.com/getaaron'>Aaron Brager</a></h4>
|
|
88
82
|
</td>
|
|
83
|
+
<td id='jimmy-dee'>
|
|
84
|
+
<a href='https://github.com/jdee'>
|
|
85
|
+
<img src='https://github.com/jdee.png' width='140px;'>
|
|
86
|
+
</a>
|
|
87
|
+
<h4 align='center'>Jimmy Dee</h4>
|
|
88
|
+
</td>
|
|
89
|
+
<td id='roger-oba'>
|
|
90
|
+
<a href='https://github.com/rogerluan'>
|
|
91
|
+
<img src='https://github.com/rogerluan.png' width='140px;'>
|
|
92
|
+
</a>
|
|
93
|
+
<h4 align='center'><a href='https://twitter.com/rogerluan_'>Roger Oba</a></h4>
|
|
94
|
+
</td>
|
|
89
95
|
<td id='matthew-ellis'>
|
|
90
96
|
<a href='https://github.com/matthewellis'>
|
|
91
97
|
<img src='https://github.com/matthewellis.png' width='140px;'>
|
|
92
98
|
</a>
|
|
93
99
|
<h4 align='center'><a href='https://twitter.com/mellis1995'>Matthew Ellis</a></h4>
|
|
94
100
|
</td>
|
|
95
|
-
<td id='iulian-onofrei'>
|
|
96
|
-
<a href='https://github.com/revolter'>
|
|
97
|
-
<img src='https://github.com/revolter.png' width='140px;'>
|
|
98
|
-
</a>
|
|
99
|
-
<h4 align='center'><a href='https://twitter.com/Revolt666'>Iulian Onofrei</a></h4>
|
|
100
|
-
</td>
|
|
101
101
|
</tr>
|
|
102
102
|
<tr>
|
|
103
|
-
<td id='
|
|
104
|
-
<a href='https://github.com/
|
|
105
|
-
<img src='https://github.com/
|
|
106
|
-
</a>
|
|
107
|
-
<h4 align='center'><a href='https://twitter.com/endocrimes'>Danielle Tomlinson</a></h4>
|
|
108
|
-
</td>
|
|
109
|
-
<td id='fumiya-nakamura'>
|
|
110
|
-
<a href='https://github.com/nafu'>
|
|
111
|
-
<img src='https://github.com/nafu.png' width='140px;'>
|
|
103
|
+
<td id='max-ott'>
|
|
104
|
+
<a href='https://github.com/max-ott'>
|
|
105
|
+
<img src='https://github.com/max-ott.png' width='140px;'>
|
|
112
106
|
</a>
|
|
113
|
-
<h4 align='center'><a href='https://twitter.com/
|
|
107
|
+
<h4 align='center'><a href='https://twitter.com/ott_max'>Max Ott</a></h4>
|
|
114
108
|
</td>
|
|
115
|
-
<td id='
|
|
116
|
-
<a href='https://github.com/
|
|
117
|
-
<img src='https://github.com/
|
|
109
|
+
<td id='daniel-jankowski'>
|
|
110
|
+
<a href='https://github.com/mollyIV'>
|
|
111
|
+
<img src='https://github.com/mollyIV.png' width='140px;'>
|
|
118
112
|
</a>
|
|
119
|
-
<h4 align='center'><a href='https://twitter.com/
|
|
113
|
+
<h4 align='center'><a href='https://twitter.com/mollyIV'>Daniel Jankowski</a></h4>
|
|
120
114
|
</td>
|
|
121
|
-
<td id='
|
|
122
|
-
<a href='https://github.com/
|
|
123
|
-
<img src='https://github.com/
|
|
115
|
+
<td id='manish-rathi'>
|
|
116
|
+
<a href='https://github.com/crazymanish'>
|
|
117
|
+
<img src='https://github.com/crazymanish.png' width='140px;'>
|
|
124
118
|
</a>
|
|
125
|
-
<h4 align='center'><a href='https://twitter.com/
|
|
119
|
+
<h4 align='center'><a href='https://twitter.com/iammanishrathi'>Manish Rathi</a></h4>
|
|
126
120
|
</td>
|
|
127
121
|
<td id='manu-wallner'>
|
|
128
122
|
<a href='https://github.com/milch'>
|
|
@@ -130,37 +124,43 @@ If the above doesn't help, please [submit an issue](https://github.com/fastlane/
|
|
|
130
124
|
</a>
|
|
131
125
|
<h4 align='center'><a href='https://twitter.com/acrooow'>Manu Wallner</a></h4>
|
|
132
126
|
</td>
|
|
133
|
-
</tr>
|
|
134
|
-
<tr>
|
|
135
|
-
<td id='jimmy-dee'>
|
|
136
|
-
<a href='https://github.com/jdee'>
|
|
137
|
-
<img src='https://github.com/jdee.png' width='140px;'>
|
|
138
|
-
</a>
|
|
139
|
-
<h4 align='center'>Jimmy Dee</h4>
|
|
140
|
-
</td>
|
|
141
127
|
<td id='satoshi-namai'>
|
|
142
128
|
<a href='https://github.com/ainame'>
|
|
143
129
|
<img src='https://github.com/ainame.png' width='140px;'>
|
|
144
130
|
</a>
|
|
145
131
|
<h4 align='center'><a href='https://twitter.com/ainame'>Satoshi Namai</a></h4>
|
|
146
132
|
</td>
|
|
147
|
-
|
|
148
|
-
<
|
|
149
|
-
<
|
|
133
|
+
</tr>
|
|
134
|
+
<tr>
|
|
135
|
+
<td id='maksym-grebenets'>
|
|
136
|
+
<a href='https://github.com/mgrebenets'>
|
|
137
|
+
<img src='https://github.com/mgrebenets.png' width='140px;'>
|
|
150
138
|
</a>
|
|
151
|
-
<h4 align='center'
|
|
139
|
+
<h4 align='center'><a href='https://twitter.com/mgrebenets'>Maksym Grebenets</a></h4>
|
|
152
140
|
</td>
|
|
153
|
-
<td id='
|
|
154
|
-
<a href='https://github.com/
|
|
155
|
-
<img src='https://github.com/
|
|
141
|
+
<td id='olivier-halligon'>
|
|
142
|
+
<a href='https://github.com/AliSoftware'>
|
|
143
|
+
<img src='https://github.com/AliSoftware.png' width='140px;'>
|
|
156
144
|
</a>
|
|
157
|
-
<h4 align='center'><a href='https://twitter.com/
|
|
145
|
+
<h4 align='center'><a href='https://twitter.com/aligatr'>Olivier Halligon</a></h4>
|
|
158
146
|
</td>
|
|
159
|
-
<td id='
|
|
160
|
-
<a href='https://github.com/
|
|
161
|
-
<img src='https://github.com/
|
|
147
|
+
<td id='josh-holtz'>
|
|
148
|
+
<a href='https://github.com/joshdholtz'>
|
|
149
|
+
<img src='https://github.com/joshdholtz.png' width='140px;'>
|
|
162
150
|
</a>
|
|
163
|
-
<h4 align='center'><a href='https://twitter.com/
|
|
151
|
+
<h4 align='center'><a href='https://twitter.com/joshdholtz'>Josh Holtz</a></h4>
|
|
152
|
+
</td>
|
|
153
|
+
<td id='jan-piotrowski'>
|
|
154
|
+
<a href='https://github.com/janpio'>
|
|
155
|
+
<img src='https://github.com/janpio.png' width='140px;'>
|
|
156
|
+
</a>
|
|
157
|
+
<h4 align='center'><a href='https://twitter.com/Sujan'>Jan Piotrowski</a></h4>
|
|
158
|
+
</td>
|
|
159
|
+
<td id='felix-krause'>
|
|
160
|
+
<a href='https://github.com/KrauseFx'>
|
|
161
|
+
<img src='https://github.com/KrauseFx.png' width='140px;'>
|
|
162
|
+
</a>
|
|
163
|
+
<h4 align='center'><a href='https://twitter.com/KrauseFx'>Felix Krause</a></h4>
|
|
164
164
|
</td>
|
|
165
165
|
</tr>
|
|
166
166
|
<tr>
|
|
@@ -170,43 +170,43 @@ If the above doesn't help, please [submit an issue](https://github.com/fastlane/
|
|
|
170
170
|
</a>
|
|
171
171
|
<h4 align='center'><a href='https://twitter.com/taquitos'>Joshua Liebowitz</a></h4>
|
|
172
172
|
</td>
|
|
173
|
-
<td id='
|
|
174
|
-
<a href='https://github.com/
|
|
175
|
-
<img src='https://github.com/
|
|
173
|
+
<td id='łukasz-grabowski'>
|
|
174
|
+
<a href='https://github.com/lucgrabowski'>
|
|
175
|
+
<img src='https://github.com/lucgrabowski.png' width='140px;'>
|
|
176
176
|
</a>
|
|
177
|
-
<h4 align='center'
|
|
177
|
+
<h4 align='center'>Łukasz Grabowski</h4>
|
|
178
178
|
</td>
|
|
179
|
-
<td id='
|
|
180
|
-
<a href='https://github.com/
|
|
181
|
-
<img src='https://github.com/
|
|
179
|
+
<td id='helmut-januschka'>
|
|
180
|
+
<a href='https://github.com/hjanuschka'>
|
|
181
|
+
<img src='https://github.com/hjanuschka.png' width='140px;'>
|
|
182
182
|
</a>
|
|
183
|
-
<h4 align='center'><a href='https://twitter.com/
|
|
183
|
+
<h4 align='center'><a href='https://twitter.com/hjanuschka'>Helmut Januschka</a></h4>
|
|
184
184
|
</td>
|
|
185
|
-
<td id='
|
|
186
|
-
<a href='https://github.com/
|
|
187
|
-
<img src='https://github.com/
|
|
185
|
+
<td id='stefan-natchev'>
|
|
186
|
+
<a href='https://github.com/snatchev'>
|
|
187
|
+
<img src='https://github.com/snatchev.png' width='140px;'>
|
|
188
188
|
</a>
|
|
189
|
-
<h4 align='center'><a href='https://twitter.com/
|
|
189
|
+
<h4 align='center'><a href='https://twitter.com/snatchev'>Stefan Natchev</a></h4>
|
|
190
190
|
</td>
|
|
191
|
-
<td id='
|
|
192
|
-
<a href='https://github.com/
|
|
193
|
-
<img src='https://github.com/
|
|
191
|
+
<td id='kohki-miki'>
|
|
192
|
+
<a href='https://github.com/giginet'>
|
|
193
|
+
<img src='https://github.com/giginet.png' width='140px;'>
|
|
194
194
|
</a>
|
|
195
|
-
<h4 align='center'><a href='https://twitter.com/
|
|
195
|
+
<h4 align='center'><a href='https://twitter.com/giginet'>Kohki Miki</a></h4>
|
|
196
196
|
</td>
|
|
197
197
|
</tr>
|
|
198
198
|
<tr>
|
|
199
|
-
<td id='
|
|
200
|
-
<a href='https://github.com/
|
|
201
|
-
<img src='https://github.com/
|
|
199
|
+
<td id='jorge-revuelta-h'>
|
|
200
|
+
<a href='https://github.com/minuscorp'>
|
|
201
|
+
<img src='https://github.com/minuscorp.png' width='140px;'>
|
|
202
202
|
</a>
|
|
203
|
-
<h4 align='center'><a href='https://twitter.com/
|
|
203
|
+
<h4 align='center'><a href='https://twitter.com/minuscorp'>Jorge Revuelta H</a></h4>
|
|
204
204
|
</td>
|
|
205
|
-
<td id='
|
|
206
|
-
<a href='https://github.com/
|
|
207
|
-
<img src='https://github.com/
|
|
205
|
+
<td id='andrew-mcburney'>
|
|
206
|
+
<a href='https://github.com/armcburney'>
|
|
207
|
+
<img src='https://github.com/armcburney.png' width='140px;'>
|
|
208
208
|
</a>
|
|
209
|
-
<h4 align='center'><a href='https://twitter.com/
|
|
209
|
+
<h4 align='center'><a href='https://twitter.com/armcburney'>Andrew McBurney</a></h4>
|
|
210
210
|
</td>
|
|
211
211
|
</table>
|
|
212
212
|
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
require 'tmpdir'
|
|
1
2
|
require 'precheck/options'
|
|
2
3
|
require 'precheck/runner'
|
|
3
4
|
require 'fastlane_core/configuration/configuration'
|
|
@@ -196,7 +197,7 @@ module Deliver
|
|
|
196
197
|
package_path = FastlaneCore::IpaUploadPackageBuilder.new.generate(
|
|
197
198
|
app_id: Deliver.cache[:app].id,
|
|
198
199
|
ipa_path: ipa_path,
|
|
199
|
-
package_path:
|
|
200
|
+
package_path: Dir.tmpdir,
|
|
200
201
|
platform: platform
|
|
201
202
|
)
|
|
202
203
|
result = transporter.verify(package_path: package_path, asset_path: ipa_path, platform: platform)
|
|
@@ -204,7 +205,7 @@ module Deliver
|
|
|
204
205
|
package_path = FastlaneCore::PkgUploadPackageBuilder.new.generate(
|
|
205
206
|
app_id: Deliver.cache[:app].id,
|
|
206
207
|
pkg_path: pkg_path,
|
|
207
|
-
package_path:
|
|
208
|
+
package_path: Dir.tmpdir,
|
|
208
209
|
platform: platform
|
|
209
210
|
)
|
|
210
211
|
result = transporter.verify(package_path: package_path, asset_path: pkg_path, platform: platform)
|
|
@@ -233,7 +234,7 @@ module Deliver
|
|
|
233
234
|
package_path = FastlaneCore::IpaUploadPackageBuilder.new.generate(
|
|
234
235
|
app_id: Deliver.cache[:app].id,
|
|
235
236
|
ipa_path: ipa_path,
|
|
236
|
-
package_path:
|
|
237
|
+
package_path: Dir.tmpdir,
|
|
237
238
|
platform: platform
|
|
238
239
|
)
|
|
239
240
|
result = transporter.upload(package_path: package_path, asset_path: ipa_path, platform: platform)
|
|
@@ -241,7 +242,7 @@ module Deliver
|
|
|
241
242
|
package_path = FastlaneCore::PkgUploadPackageBuilder.new.generate(
|
|
242
243
|
app_id: Deliver.cache[:app].id,
|
|
243
244
|
pkg_path: pkg_path,
|
|
244
|
-
package_path:
|
|
245
|
+
package_path: Dir.tmpdir,
|
|
245
246
|
platform: platform
|
|
246
247
|
)
|
|
247
248
|
result = transporter.upload(package_path: package_path, asset_path: pkg_path, platform: platform)
|
|
@@ -1,8 +1,10 @@
|
|
|
1
|
+
require 'tmpdir'
|
|
2
|
+
|
|
1
3
|
module Fastlane
|
|
2
4
|
module Actions
|
|
3
5
|
class BuildAndUploadToAppetizeAction < Action
|
|
4
6
|
def self.run(params)
|
|
5
|
-
tmp_path = "
|
|
7
|
+
tmp_path = File.join(Dir.tmpdir, "fastlane_build")
|
|
6
8
|
|
|
7
9
|
xcodebuild_configs = params[:xcodebuild]
|
|
8
10
|
xcodebuild_configs[:sdk] = "iphonesimulator"
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
require 'tmpdir'
|
|
2
|
+
|
|
1
3
|
module Fastlane
|
|
2
4
|
module Actions
|
|
3
5
|
class LcovAction < Action
|
|
@@ -42,7 +44,7 @@ module Fastlane
|
|
|
42
44
|
end
|
|
43
45
|
|
|
44
46
|
def self.gen_cov(options)
|
|
45
|
-
tmp_cov_file = "
|
|
47
|
+
tmp_cov_file = File.join(Dir.tmpdir, "coverage.info")
|
|
46
48
|
output_dir = options[:output_dir]
|
|
47
49
|
derived_data_path = derived_data_dir(options)
|
|
48
50
|
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
require 'tmpdir'
|
|
2
|
+
|
|
1
3
|
module Fastlane
|
|
2
4
|
module Actions
|
|
3
5
|
class SpaceshipLogsAction < Action
|
|
@@ -8,8 +10,8 @@ module Fastlane
|
|
|
8
10
|
copy_to_path = params[:copy_to_path]
|
|
9
11
|
copy_to_clipboard = params[:copy_to_clipboard]
|
|
10
12
|
|
|
11
|
-
# Get log files
|
|
12
|
-
files = Dir.glob("
|
|
13
|
+
# Get log files, from wherever Spaceship::Client#logger writes them.
|
|
14
|
+
files = Dir.glob(File.join(Dir.tmpdir, "spaceship*.log")).sort_by { |f| File.mtime(f) }.reverse
|
|
13
15
|
|
|
14
16
|
if files.size == 0
|
|
15
17
|
UI.message("No Spaceship log files found")
|
|
@@ -44,7 +44,10 @@ module Fastlane
|
|
|
44
44
|
begin
|
|
45
45
|
Actions.sh(command)
|
|
46
46
|
rescue
|
|
47
|
-
|
|
47
|
+
# $? is the status of the last subprocess this thread ran, not
|
|
48
|
+
# necessarily this one: nil when the command never launched, and stale
|
|
49
|
+
# when something else ran in between. Only report it when it is there.
|
|
50
|
+
handle_swiftlint_error(params[:ignore_exit_status], $?&.exitstatus)
|
|
48
51
|
raise if params[:raise_if_swiftlint_error]
|
|
49
52
|
end
|
|
50
53
|
end
|
|
@@ -248,10 +251,10 @@ module Fastlane
|
|
|
248
251
|
end
|
|
249
252
|
|
|
250
253
|
UI.important("")
|
|
251
|
-
UI.important("SwiftLint finished with exit code #{exit_status}, #{failure_suffix}")
|
|
254
|
+
UI.important("SwiftLint finished with exit code #{exit_status || 'unknown'}, #{failure_suffix}")
|
|
252
255
|
UI.important(secondary_message)
|
|
253
256
|
UI.important("")
|
|
254
|
-
UI.user_error!("SwiftLint finished with errors (exit code: #{exit_status})") unless ignore_exit_status
|
|
257
|
+
UI.user_error!("SwiftLint finished with errors (exit code: #{exit_status || 'unknown'})") unless ignore_exit_status
|
|
255
258
|
end
|
|
256
259
|
end
|
|
257
260
|
end
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
# coding: utf-8
|
|
2
2
|
|
|
3
|
+
require 'tmpdir'
|
|
4
|
+
|
|
3
5
|
module Fastlane
|
|
4
6
|
module Actions
|
|
5
7
|
module SharedValues
|
|
@@ -146,7 +148,7 @@ module Fastlane
|
|
|
146
148
|
FastlaneCore::ConfigItem.new(key: :certificate,
|
|
147
149
|
env_name: "FL_PROJECT_PROVISIONING_CERTIFICATE_PATH",
|
|
148
150
|
description: "Path to apple root certificate",
|
|
149
|
-
default_value: "
|
|
151
|
+
default_value: File.join(Dir.tmpdir, "AppleIncRootCertificate.cer")),
|
|
150
152
|
FastlaneCore::ConfigItem.new(key: :code_signing_identity,
|
|
151
153
|
env_name: "FL_PROJECT_PROVISIONING_CODE_SIGN_IDENTITY",
|
|
152
154
|
description: "Code sign identity for build configuration",
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
module Fastlane
|
|
2
|
-
VERSION = '2.
|
|
2
|
+
VERSION = '2.240.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
|