fastlane 2.201.0 → 2.201.1

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: a6983f86cfd3fcbcf74e50d5b6e5e0192de17cb7e1ed8e034d0efb262ae4bd99
4
- data.tar.gz: 440bdbead5a9221e1ccb7d147ad063248f3873d4709976e56a0ef5906dd2a8ba
3
+ metadata.gz: de45de805167ed42b9b9ca8e458af9c292ea15254677ef2096f3d4d22be71f27
4
+ data.tar.gz: 4b8aeaaa8347aa87e6d467d1c25d0f97672e25689c1f3d2a90775e1a638c8fc3
5
5
  SHA512:
6
- metadata.gz: 0b535c21929255348c4938436e7a7ae498a9dd54cfb187614a2d48aaa7be75211a90ad1ec26792e4f0868385d3fe987ea82153f0264b1a140b32311d294f3782
7
- data.tar.gz: 9d93de187c88fe2cdf93bab11246b7761a41223c1bd6909ae452aa4196b0e09926dfa974667e9e7d00a93bc79fc395766e0571daa5b7a20af7cce991eda78b3b
6
+ metadata.gz: ba614e31deb05b17521edc2cc755738b876f80cb4b0d49411f76d524665c358241d79d1401b1e58f5de93778235a73e8f982f6a250912f3fde358c9e51b5b59a
7
+ data.tar.gz: 997d036a081987c2df2134057f4c1ac94fe81ac6a06af00994d326797207eb7b4bcabe3c3605c9092c91e473e745d9c2e5516811b9172b3c596f874d3292c41e
data/README.md CHANGED
@@ -35,67 +35,67 @@ 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='helmut-januschka'>
39
- <a href='https://github.com/hjanuschka'>
40
- <img src='https://github.com/hjanuschka.png' width='140px;'>
38
+ <td id='jorge-revuelta-h'>
39
+ <a href='https://github.com/minuscorp'>
40
+ <img src='https://github.com/minuscorp.png' width='140px;'>
41
41
  </a>
42
- <h4 align='center'><a href='https://twitter.com/hjanuschka'>Helmut Januschka</a></h4>
42
+ <h4 align='center'><a href='https://twitter.com/minuscorp'>Jorge Revuelta H</a></h4>
43
43
  </td>
44
- <td id='roger-oba'>
45
- <a href='https://github.com/rogerluan'>
46
- <img src='https://github.com/rogerluan.png' width='140px;'>
44
+ <td id='luka-mirosevic'>
45
+ <a href='https://github.com/lmirosevic'>
46
+ <img src='https://github.com/lmirosevic.png' width='140px;'>
47
47
  </a>
48
- <h4 align='center'><a href='https://twitter.com/rogerluan_'>Roger Oba</a></h4>
48
+ <h4 align='center'><a href='https://twitter.com/lmirosevic'>Luka Mirosevic</a></h4>
49
49
  </td>
50
- <td id='danielle-tomlinson'>
51
- <a href='https://github.com/endocrimes'>
52
- <img src='https://github.com/endocrimes.png' width='140px;'>
50
+ <td id='jimmy-dee'>
51
+ <a href='https://github.com/jdee'>
52
+ <img src='https://github.com/jdee.png' width='140px;'>
53
53
  </a>
54
- <h4 align='center'><a href='https://twitter.com/endocrimes'>Danielle Tomlinson</a></h4>
54
+ <h4 align='center'>Jimmy Dee</h4>
55
55
  </td>
56
- <td id='stefan-natchev'>
57
- <a href='https://github.com/snatchev'>
58
- <img src='https://github.com/snatchev.png' width='140px;'>
56
+ <td id='iulian-onofrei'>
57
+ <a href='https://github.com/revolter'>
58
+ <img src='https://github.com/revolter.png' width='140px;'>
59
59
  </a>
60
- <h4 align='center'><a href='https://twitter.com/snatchev'>Stefan Natchev</a></h4>
60
+ <h4 align='center'><a href='https://twitter.com/Revolt666'>Iulian Onofrei</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='olivier-halligon'>
63
+ <a href='https://github.com/AliSoftware'>
64
+ <img src='https://github.com/AliSoftware.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/aligatr'>Olivier Halligon</a></h4>
67
67
  </td>
68
68
  </tr>
69
69
  <tr>
70
- <td id='jérôme-lacoste'>
71
- <a href='https://github.com/lacostej'>
72
- <img src='https://github.com/lacostej.png' width='140px;'>
70
+ <td id='łukasz-grabowski'>
71
+ <a href='https://github.com/lucgrabowski'>
72
+ <img src='https://github.com/lucgrabowski.png' width='140px;'>
73
73
  </a>
74
- <h4 align='center'><a href='https://twitter.com/lacostej'>Jérôme Lacoste</a></h4>
74
+ <h4 align='center'>Łukasz Grabowski</h4>
75
75
  </td>
76
- <td id='joshua-liebowitz'>
77
- <a href='https://github.com/taquitos'>
78
- <img src='https://github.com/taquitos.png' width='140px;'>
76
+ <td id='josh-holtz'>
77
+ <a href='https://github.com/joshdholtz'>
78
+ <img src='https://github.com/joshdholtz.png' width='140px;'>
79
79
  </a>
80
- <h4 align='center'><a href='https://twitter.com/taquitos'>Joshua Liebowitz</a></h4>
80
+ <h4 align='center'><a href='https://twitter.com/joshdholtz'>Josh Holtz</a></h4>
81
81
  </td>
82
- <td id='aaron-brager'>
83
- <a href='https://github.com/getaaron'>
84
- <img src='https://github.com/getaaron.png' width='140px;'>
82
+ <td id='felix-krause'>
83
+ <a href='https://github.com/KrauseFx'>
84
+ <img src='https://github.com/KrauseFx.png' width='140px;'>
85
85
  </a>
86
- <h4 align='center'><a href='https://twitter.com/getaaron'>Aaron Brager</a></h4>
86
+ <h4 align='center'><a href='https://twitter.com/KrauseFx'>Felix Krause</a></h4>
87
87
  </td>
88
- <td id='andrew-mcburney'>
89
- <a href='https://github.com/armcburney'>
90
- <img src='https://github.com/armcburney.png' width='140px;'>
88
+ <td id='joshua-liebowitz'>
89
+ <a href='https://github.com/taquitos'>
90
+ <img src='https://github.com/taquitos.png' width='140px;'>
91
91
  </a>
92
- <h4 align='center'><a href='https://twitter.com/armcburney'>Andrew McBurney</a></h4>
92
+ <h4 align='center'><a href='https://twitter.com/taquitos'>Joshua Liebowitz</a></h4>
93
93
  </td>
94
- <td id='łukasz-grabowski'>
95
- <a href='https://github.com/lucgrabowski'>
96
- <img src='https://github.com/lucgrabowski.png' width='140px;'>
94
+ <td id='danielle-tomlinson'>
95
+ <a href='https://github.com/endocrimes'>
96
+ <img src='https://github.com/endocrimes.png' width='140px;'>
97
97
  </a>
98
- <h4 align='center'>Łukasz Grabowski</h4>
98
+ <h4 align='center'><a href='https://twitter.com/endocrimes'>Danielle Tomlinson</a></h4>
99
99
  </td>
100
100
  </tr>
101
101
  <tr>
@@ -105,101 +105,101 @@ If the above doesn't help, please [submit an issue](https://github.com/fastlane/
105
105
  </a>
106
106
  <h4 align='center'><a href='https://twitter.com/acrooow'>Manu Wallner</a></h4>
107
107
  </td>
108
- <td id='satoshi-namai'>
109
- <a href='https://github.com/ainame'>
110
- <img src='https://github.com/ainame.png' width='140px;'>
108
+ <td id='kohki-miki'>
109
+ <a href='https://github.com/giginet'>
110
+ <img src='https://github.com/giginet.png' width='140px;'>
111
111
  </a>
112
- <h4 align='center'><a href='https://twitter.com/ainame'>Satoshi Namai</a></h4>
112
+ <h4 align='center'><a href='https://twitter.com/giginet'>Kohki Miki</a></h4>
113
113
  </td>
114
- <td id='olivier-halligon'>
115
- <a href='https://github.com/AliSoftware'>
116
- <img src='https://github.com/AliSoftware.png' width='140px;'>
114
+ <td id='daniel-jankowski'>
115
+ <a href='https://github.com/mollyIV'>
116
+ <img src='https://github.com/mollyIV.png' width='140px;'>
117
117
  </a>
118
- <h4 align='center'><a href='https://twitter.com/aligatr'>Olivier Halligon</a></h4>
118
+ <h4 align='center'><a href='https://twitter.com/mollyIV'>Daniel Jankowski</a></h4>
119
119
  </td>
120
- <td id='jimmy-dee'>
121
- <a href='https://github.com/jdee'>
122
- <img src='https://github.com/jdee.png' width='140px;'>
120
+ <td id='roger-oba'>
121
+ <a href='https://github.com/rogerluan'>
122
+ <img src='https://github.com/rogerluan.png' width='140px;'>
123
123
  </a>
124
- <h4 align='center'>Jimmy Dee</h4>
124
+ <h4 align='center'><a href='https://twitter.com/rogerluan_'>Roger Oba</a></h4>
125
125
  </td>
126
- <td id='max-ott'>
127
- <a href='https://github.com/max-ott'>
128
- <img src='https://github.com/max-ott.png' width='140px;'>
126
+ <td id='satoshi-namai'>
127
+ <a href='https://github.com/ainame'>
128
+ <img src='https://github.com/ainame.png' width='140px;'>
129
129
  </a>
130
- <h4 align='center'><a href='https://twitter.com/ott_max'>Max Ott</a></h4>
130
+ <h4 align='center'><a href='https://twitter.com/ainame'>Satoshi Namai</a></h4>
131
131
  </td>
132
132
  </tr>
133
133
  <tr>
134
- <td id='jorge-revuelta-h'>
135
- <a href='https://github.com/minuscorp'>
136
- <img src='https://github.com/minuscorp.png' width='140px;'>
137
- </a>
138
- <h4 align='center'><a href='https://twitter.com/minuscorp'>Jorge Revuelta H</a></h4>
139
- </td>
140
134
  <td id='manish-rathi'>
141
135
  <a href='https://github.com/crazymanish'>
142
136
  <img src='https://github.com/crazymanish.png' width='140px;'>
143
137
  </a>
144
138
  <h4 align='center'><a href='https://twitter.com/iammanishrathi'>Manish Rathi</a></h4>
145
139
  </td>
146
- <td id='felix-krause'>
147
- <a href='https://github.com/KrauseFx'>
148
- <img src='https://github.com/KrauseFx.png' width='140px;'>
140
+ <td id='aaron-brager'>
141
+ <a href='https://github.com/getaaron'>
142
+ <img src='https://github.com/getaaron.png' width='140px;'>
149
143
  </a>
150
- <h4 align='center'><a href='https://twitter.com/KrauseFx'>Felix Krause</a></h4>
144
+ <h4 align='center'><a href='https://twitter.com/getaaron'>Aaron Brager</a></h4>
151
145
  </td>
152
- <td id='luka-mirosevic'>
153
- <a href='https://github.com/lmirosevic'>
154
- <img src='https://github.com/lmirosevic.png' width='140px;'>
146
+ <td id='jérôme-lacoste'>
147
+ <a href='https://github.com/lacostej'>
148
+ <img src='https://github.com/lacostej.png' width='140px;'>
155
149
  </a>
156
- <h4 align='center'><a href='https://twitter.com/lmirosevic'>Luka Mirosevic</a></h4>
150
+ <h4 align='center'><a href='https://twitter.com/lacostej'>Jérôme Lacoste</a></h4>
157
151
  </td>
158
- <td id='fumiya-nakamura'>
159
- <a href='https://github.com/nafu'>
160
- <img src='https://github.com/nafu.png' width='140px;'>
152
+ <td id='stefan-natchev'>
153
+ <a href='https://github.com/snatchev'>
154
+ <img src='https://github.com/snatchev.png' width='140px;'>
161
155
  </a>
162
- <h4 align='center'><a href='https://twitter.com/nafu003'>Fumiya Nakamura</a></h4>
156
+ <h4 align='center'><a href='https://twitter.com/snatchev'>Stefan Natchev</a></h4>
157
+ </td>
158
+ <td id='jan-piotrowski'>
159
+ <a href='https://github.com/janpio'>
160
+ <img src='https://github.com/janpio.png' width='140px;'>
161
+ </a>
162
+ <h4 align='center'><a href='https://twitter.com/Sujan'>Jan Piotrowski</a></h4>
163
163
  </td>
164
164
  </tr>
165
165
  <tr>
166
- <td id='iulian-onofrei'>
167
- <a href='https://github.com/revolter'>
168
- <img src='https://github.com/revolter.png' width='140px;'>
166
+ <td id='matthew-ellis'>
167
+ <a href='https://github.com/matthewellis'>
168
+ <img src='https://github.com/matthewellis.png' width='140px;'>
169
169
  </a>
170
- <h4 align='center'><a href='https://twitter.com/Revolt666'>Iulian Onofrei</a></h4>
170
+ <h4 align='center'><a href='https://twitter.com/mellis1995'>Matthew Ellis</a></h4>
171
171
  </td>
172
- <td id='maksym-grebenets'>
173
- <a href='https://github.com/mgrebenets'>
174
- <img src='https://github.com/mgrebenets.png' width='140px;'>
172
+ <td id='andrew-mcburney'>
173
+ <a href='https://github.com/armcburney'>
174
+ <img src='https://github.com/armcburney.png' width='140px;'>
175
175
  </a>
176
- <h4 align='center'><a href='https://twitter.com/mgrebenets'>Maksym Grebenets</a></h4>
176
+ <h4 align='center'><a href='https://twitter.com/armcburney'>Andrew McBurney</a></h4>
177
177
  </td>
178
- <td id='josh-holtz'>
179
- <a href='https://github.com/joshdholtz'>
180
- <img src='https://github.com/joshdholtz.png' width='140px;'>
178
+ <td id='fumiya-nakamura'>
179
+ <a href='https://github.com/nafu'>
180
+ <img src='https://github.com/nafu.png' width='140px;'>
181
181
  </a>
182
- <h4 align='center'><a href='https://twitter.com/joshdholtz'>Josh Holtz</a></h4>
182
+ <h4 align='center'><a href='https://twitter.com/nafu003'>Fumiya Nakamura</a></h4>
183
183
  </td>
184
- <td id='daniel-jankowski'>
185
- <a href='https://github.com/mollyIV'>
186
- <img src='https://github.com/mollyIV.png' width='140px;'>
184
+ <td id='helmut-januschka'>
185
+ <a href='https://github.com/hjanuschka'>
186
+ <img src='https://github.com/hjanuschka.png' width='140px;'>
187
187
  </a>
188
- <h4 align='center'><a href='https://twitter.com/mollyIV'>Daniel Jankowski</a></h4>
188
+ <h4 align='center'><a href='https://twitter.com/hjanuschka'>Helmut Januschka</a></h4>
189
189
  </td>
190
- <td id='jan-piotrowski'>
191
- <a href='https://github.com/janpio'>
192
- <img src='https://github.com/janpio.png' width='140px;'>
190
+ <td id='max-ott'>
191
+ <a href='https://github.com/max-ott'>
192
+ <img src='https://github.com/max-ott.png' width='140px;'>
193
193
  </a>
194
- <h4 align='center'><a href='https://twitter.com/Sujan'>Jan Piotrowski</a></h4>
194
+ <h4 align='center'><a href='https://twitter.com/ott_max'>Max Ott</a></h4>
195
195
  </td>
196
196
  </tr>
197
197
  <tr>
198
- <td id='matthew-ellis'>
199
- <a href='https://github.com/matthewellis'>
200
- <img src='https://github.com/matthewellis.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'><a href='https://twitter.com/mellis1995'>Matthew Ellis</a></h4>
202
+ <h4 align='center'><a href='https://twitter.com/mgrebenets'>Maksym Grebenets</a></h4>
203
203
  </td>
204
204
  </table>
205
205
 
@@ -4,6 +4,7 @@ module Fastlane
4
4
  SCAN_DERIVED_DATA_PATH = :SCAN_DERIVED_DATA_PATH
5
5
  SCAN_GENERATED_PLIST_FILE = :SCAN_GENERATED_PLIST_FILE
6
6
  SCAN_GENERATED_PLIST_FILES = :SCAN_GENERATED_PLIST_FILES
7
+ SCAN_GENERATED_XCRESULT_PATH = :SCAN_GENERATED_XCRESULT_PATH
7
8
  SCAN_ZIP_BUILD_PRODUCTS_PATH = :SCAN_ZIP_BUILD_PRODUCTS_PATH
8
9
  end
9
10
 
@@ -29,6 +30,12 @@ module Fastlane
29
30
  raise ex
30
31
  end
31
32
  ensure
33
+ if Scan.cache && (result_bundle_path = Scan.cache[:result_bundle_path])
34
+ Actions.lane_context[SharedValues::SCAN_GENERATED_XCRESULT_PATH] = File.absolute_path(result_bundle_path)
35
+ else
36
+ Actions.lane_context[SharedValues::SCAN_GENERATED_XCRESULT_PATH] = nil
37
+ end
38
+
32
39
  unless values[:derived_data_path].to_s.empty?
33
40
  plist_files_before = manager.plist_files_before || []
34
41
 
@@ -70,6 +77,7 @@ module Fastlane
70
77
  ['SCAN_DERIVED_DATA_PATH', 'The path to the derived data'],
71
78
  ['SCAN_GENERATED_PLIST_FILE', 'The generated plist file'],
72
79
  ['SCAN_GENERATED_PLIST_FILES', 'The generated plist files'],
80
+ ['SCAN_GENERATED_XCRESULT_PATH', 'The path to the generated .xcresult'],
73
81
  ['SCAN_ZIP_BUILD_PRODUCTS_PATH', 'The path to the zipped build products']
74
82
  ]
75
83
  end
@@ -5,6 +5,11 @@ module Fastlane
5
5
  Actions.verify_gem!('xcov')
6
6
  require 'xcov'
7
7
 
8
+ if values[:xccov_file_direct_path].nil? && (path = Actions.lane_context[SharedValues::SCAN_GENERATED_XCRESULT_PATH])
9
+ UI.verbose("Pulling xcov 'xccov_file_direct_path' from SharedValues::SCAN_GENERATED_XCRESULT_PATH")
10
+ values[:xccov_file_direct_path] = path
11
+ end
12
+
8
13
  Xcov::Manager.new(values).run
9
14
  end
10
15
 
@@ -1,5 +1,5 @@
1
1
  module Fastlane
2
- VERSION = '2.201.0'.freeze
2
+ VERSION = '2.201.1'.freeze
3
3
  DESCRIPTION = "The easiest way to automate beta deployments and releases for your iOS and Android apps".freeze
4
4
  MINIMUM_XCODE_RELEASE = "7.0".freeze
5
5
  RUBOCOP_REQUIREMENT = '1.12.1'.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.201.0
20
+ // Generated with fastlane 2.201.1
@@ -260,4 +260,4 @@ public extension DeliverfileProtocol {
260
260
 
261
261
  // Please don't remove the lines below
262
262
  // They are used to detect outdated files
263
- // FastlaneRunnerAPIVersion [0.9.91]
263
+ // FastlaneRunnerAPIVersion [0.9.92]
@@ -11433,31 +11433,39 @@ public func testflight(apiKeyPath: OptionalConfigValue<String?> = .fastlaneDefau
11433
11433
  - path: Path to the directory that should be converted
11434
11434
  - extension: The extension for the newly created file. Usually .xml or .junit
11435
11435
  - outputDirectory: Directoy in which the xml files should be written to. Same directory as source by default
11436
+ - outputFilename: Filename the xml file should be written to. Defaults to name of input file. (Only works if one input file is used)
11436
11437
  - failBuild: Should this step stop the build if the tests fail? Set this to false if you're handling this with a test reporter
11437
11438
  - xcprettyNaming: Produces class name and test name identical to xcpretty naming in junit file
11438
11439
  - silent: Silences all output
11440
+ - outputRemoveRetryAttempts: Doesn't include retry attempts in the output
11439
11441
 
11440
11442
  - returns: A hash with the key being the path of the generated file, the value being if the tests were successful
11441
11443
  */
11442
11444
  public func trainer(path: String = ".",
11443
11445
  extension: String = ".xml",
11444
11446
  outputDirectory: OptionalConfigValue<String?> = .fastlaneDefault(nil),
11447
+ outputFilename: OptionalConfigValue<String?> = .fastlaneDefault(nil),
11445
11448
  failBuild: OptionalConfigValue<Bool> = .fastlaneDefault(true),
11446
11449
  xcprettyNaming: OptionalConfigValue<Bool> = .fastlaneDefault(false),
11447
- silent: OptionalConfigValue<Bool> = .fastlaneDefault(false))
11450
+ silent: OptionalConfigValue<Bool> = .fastlaneDefault(false),
11451
+ outputRemoveRetryAttempts: OptionalConfigValue<Bool> = .fastlaneDefault(false))
11448
11452
  {
11449
11453
  let pathArg = RubyCommand.Argument(name: "path", value: path, type: nil)
11450
11454
  let extensionArg = RubyCommand.Argument(name: "extension", value: `extension`, type: nil)
11451
11455
  let outputDirectoryArg = outputDirectory.asRubyArgument(name: "output_directory", type: nil)
11456
+ let outputFilenameArg = outputFilename.asRubyArgument(name: "output_filename", type: nil)
11452
11457
  let failBuildArg = failBuild.asRubyArgument(name: "fail_build", type: nil)
11453
11458
  let xcprettyNamingArg = xcprettyNaming.asRubyArgument(name: "xcpretty_naming", type: nil)
11454
11459
  let silentArg = silent.asRubyArgument(name: "silent", type: nil)
11460
+ let outputRemoveRetryAttemptsArg = outputRemoveRetryAttempts.asRubyArgument(name: "output_remove_retry_attempts", type: nil)
11455
11461
  let array: [RubyCommand.Argument?] = [pathArg,
11456
11462
  extensionArg,
11457
11463
  outputDirectoryArg,
11464
+ outputFilenameArg,
11458
11465
  failBuildArg,
11459
11466
  xcprettyNamingArg,
11460
- silentArg]
11467
+ silentArg,
11468
+ outputRemoveRetryAttemptsArg]
11461
11469
  let args: [RubyCommand.Argument] = array
11462
11470
  .filter { $0?.value != nil }
11463
11471
  .compactMap { $0 }
@@ -13386,4 +13394,4 @@ public let snapshotfile: Snapshotfile = .init()
13386
13394
 
13387
13395
  // Please don't remove the lines below
13388
13396
  // They are used to detect outdated files
13389
- // FastlaneRunnerAPIVersion [0.9.144]
13397
+ // FastlaneRunnerAPIVersion [0.9.145]
@@ -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.201.0
20
+ // Generated with fastlane 2.201.1
@@ -204,4 +204,4 @@ public extension GymfileProtocol {
204
204
 
205
205
  // Please don't remove the lines below
206
206
  // They are used to detect outdated files
207
- // FastlaneRunnerAPIVersion [0.9.94]
207
+ // FastlaneRunnerAPIVersion [0.9.95]
@@ -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.201.0
20
+ // Generated with fastlane 2.201.1
@@ -192,4 +192,4 @@ public extension MatchfileProtocol {
192
192
 
193
193
  // Please don't remove the lines below
194
194
  // They are used to detect outdated files
195
- // FastlaneRunnerAPIVersion [0.9.88]
195
+ // FastlaneRunnerAPIVersion [0.9.89]
@@ -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.201.0
20
+ // Generated with fastlane 2.201.1
@@ -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.87]
55
+ // FastlaneRunnerAPIVersion [0.9.88]
@@ -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.201.0
20
+ // Generated with fastlane 2.201.1
@@ -308,4 +308,4 @@ public extension ScanfileProtocol {
308
308
 
309
309
  // Please don't remove the lines below
310
310
  // They are used to detect outdated files
311
- // FastlaneRunnerAPIVersion [0.9.99]
311
+ // FastlaneRunnerAPIVersion [0.9.100]
@@ -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.201.0
20
+ // Generated with fastlane 2.201.1
@@ -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.89]
99
+ // FastlaneRunnerAPIVersion [0.9.90]
@@ -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.201.0
20
+ // Generated with fastlane 2.201.1
@@ -204,4 +204,4 @@ public extension SnapshotfileProtocol {
204
204
 
205
205
  // Please don't remove the lines below
206
206
  // They are used to detect outdated files
207
- // FastlaneRunnerAPIVersion [0.9.83]
207
+ // FastlaneRunnerAPIVersion [0.9.84]
@@ -56,10 +56,10 @@
56
56
  "macOS": "11.6"
57
57
  },
58
58
  "monterey": {
59
- "HOMEBREW_VERSION": "3.3.11-80-g5ee14b9",
59
+ "HOMEBREW_VERSION": "3.3.11-103-g768b172",
60
60
  "HOMEBREW_PREFIX": "/opt/homebrew",
61
- "Homebrew/homebrew-core": "9ca1b8fa2865504f50fcdbe679417daedfa274cc",
62
- "CLT": "13.1.0.0.1.1633545042",
61
+ "Homebrew/homebrew-core": "3636e44542f6dbd859a4bd8a143a433e8930361f",
62
+ "CLT": "13.2.0.0.1.1638488800",
63
63
  "Xcode": "13.2.1",
64
64
  "macOS": "12.0.1"
65
65
  }
Binary file
Binary file
@@ -27,6 +27,15 @@ module Scan
27
27
  print("If you are using zshell or another shell, make sure to edit the correct bash file.")
28
28
  print("For more information visit this stackoverflow answer:")
29
29
  print("https://stackoverflow.com/a/17031697/445598")
30
+ when /Testing failed on/
31
+ # This is important because xcbeautify and raw output will print:
32
+ # Testing failed on 'iPhone 13 Pro Max'
33
+ # when multiple devices are use.
34
+ # xcpretty hides this output so its not an issue with xcpretty.
35
+ # We need to catch "Testing failed on" before "Test failed"
36
+ # so that an error isn't raised.
37
+ # Raising an error prevents trainer from processing the xcresult
38
+ return
30
39
  when /Testing failed/
31
40
  UI.build_failure!("Error building the application. #{details}")
32
41
  when /Executed/, /Failing tests:/
Binary file
@@ -33,6 +33,12 @@ module Trainer
33
33
  default_value: nil,
34
34
  optional: true,
35
35
  description: "Directoy in which the xml files should be written to. Same directory as source by default"),
36
+ FastlaneCore::ConfigItem.new(key: :output_filename,
37
+ short_option: "-f",
38
+ env_name: "TRAINER_OUTPUT_FILENAME",
39
+ default_value: nil,
40
+ optional: true,
41
+ description: "Filename the xml file should be written to. Defaults to name of input file. (Only works if one input file is used)"),
36
42
  FastlaneCore::ConfigItem.new(key: :fail_build,
37
43
  env_name: "TRAINER_FAIL_BUILD",
38
44
  description: "Should this step stop the build if the tests fail? Set this to false if you're handling this with a test reporter",
@@ -48,6 +54,11 @@ module Trainer
48
54
  env_name: "TRAINER_SILENT",
49
55
  description: "Silences all output",
50
56
  is_string: false,
57
+ default_value: false),
58
+ FastlaneCore::ConfigItem.new(key: :output_remove_retry_attempts,
59
+ env_name: "TRAINER_OUTPUT_REMOVE_RETRY_ATTEMPTS",
60
+ description: "Doesn't include retry attempts in the output",
61
+ is_string: false,
51
62
  default_value: false)
52
63
  ]
53
64
  end
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.201.0
4
+ version: 2.201.1
5
5
  platform: ruby
6
6
  authors:
7
- - Jan Piotrowski
8
7
  - Jorge Revuelta H
9
- - Łukasz Grabowski
10
- - Max Ott
11
- - Joshua Liebowitz
12
- - Stefan Natchev
13
- - Andrew McBurney
14
8
  - Jérôme Lacoste
15
- - Kohki Miki
9
+ - Andrew McBurney
10
+ - Daniel Jankowski
11
+ - Satoshi Namai
16
12
  - Helmut Januschka
13
+ - Josh Holtz
14
+ - Iulian Onofrei
15
+ - Roger Oba
17
16
  - Jimmy Dee
18
- - Olivier Halligon
19
- - Danielle Tomlinson
20
- - Maksym Grebenets
21
- - Manish Rathi
17
+ - Łukasz Grabowski
18
+ - Manu Wallner
22
19
  - Matthew Ellis
23
- - Daniel Jankowski
20
+ - Manish Rathi
21
+ - Jan Piotrowski
22
+ - Fumiya Nakamura
24
23
  - Luka Mirosevic
25
- - Satoshi Namai
26
- - Roger Oba
24
+ - Olivier Halligon
25
+ - Joshua Liebowitz
27
26
  - Felix Krause
28
- - Fumiya Nakamura
29
27
  - Aaron Brager
30
- - Iulian Onofrei
31
- - Josh Holtz
32
- - Manu Wallner
28
+ - Kohki Miki
29
+ - Stefan Natchev
30
+ - Max Ott
31
+ - Danielle Tomlinson
32
+ - Maksym Grebenets
33
33
  autorequire:
34
34
  bindir: bin
35
35
  cert_chain: []
36
- date: 2022-01-21 00:00:00.000000000 Z
36
+ date: 2022-01-23 00:00:00.000000000 Z
37
37
  dependencies:
38
38
  - !ruby/object:Gem::Dependency
39
39
  name: xcodeproj
@@ -1017,6 +1017,7 @@ files:
1017
1017
  - fastlane/lib/fastlane/action.rb
1018
1018
  - fastlane/lib/fastlane/action_collector.rb
1019
1019
  - fastlane/lib/fastlane/actions/.DS_Store
1020
+ - fastlane/lib/fastlane/actions/.run_tests.rb.swp
1020
1021
  - fastlane/lib/fastlane/actions/README.md
1021
1022
  - fastlane/lib/fastlane/actions/actions_helper.rb
1022
1023
  - fastlane/lib/fastlane/actions/adb.rb
@@ -1577,6 +1578,8 @@ files:
1577
1578
  - scan/lib/assets/ScanfileTemplate
1578
1579
  - scan/lib/assets/ScanfileTemplate.swift
1579
1580
  - scan/lib/scan.rb
1581
+ - scan/lib/scan/.error_handler.rb.swp
1582
+ - scan/lib/scan/.runner.rb.swp
1580
1583
  - scan/lib/scan/commands_generator.rb
1581
1584
  - scan/lib/scan/detect_values.rb
1582
1585
  - scan/lib/scan/error_handler.rb
@@ -1847,6 +1850,7 @@ files:
1847
1850
  - trainer/lib/.DS_Store
1848
1851
  - trainer/lib/assets/junit.xml.erb
1849
1852
  - trainer/lib/trainer.rb
1853
+ - trainer/lib/trainer/.options.rb.swp
1850
1854
  - trainer/lib/trainer/commands_generator.rb
1851
1855
  - trainer/lib/trainer/junit_generator.rb
1852
1856
  - trainer/lib/trainer/module.rb