fastlane 2.90.0.beta.20180410050128 → 2.90.0.beta.20180411050056
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +70 -70
- data/fastlane/lib/assets/ActionDetails.md.erb +3 -3
- data/fastlane/lib/fastlane/actions/adb.rb +1 -1
- data/fastlane/lib/fastlane/actions/adb_devices.rb +1 -1
- data/fastlane/lib/fastlane/actions/check_app_store_metadata.rb +2 -2
- data/fastlane/lib/fastlane/actions/docs/capture_ios_screenshots.md +16 -12
- data/fastlane/lib/fastlane/actions/git_add.rb +1 -1
- data/fastlane/lib/fastlane/actions/swiftlint.rb +1 -1
- data/fastlane/lib/fastlane/actions/verify_build.rb +3 -23
- data/fastlane/lib/fastlane/helper/adb_helper.rb +4 -0
- data/fastlane/lib/fastlane/version.rb +1 -1
- data/fastlane/swift/Deliverfile.swift +1 -1
- data/fastlane/swift/Fastlane.swift +12 -4
- data/fastlane/swift/Gymfile.swift +1 -1
- data/fastlane/swift/Matchfile.swift +1 -1
- data/fastlane/swift/Precheckfile.swift +1 -1
- data/fastlane/swift/Scanfile.swift +1 -1
- data/fastlane/swift/Screengrabfile.swift +1 -1
- data/fastlane/swift/Snapshotfile.swift +1 -1
- data/fastlane_core/lib/fastlane_core/ipa_upload_package_builder.rb +6 -2
- metadata +28 -28
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a2d573edb777ea17815892a613561bde9ff1887b
|
4
|
+
data.tar.gz: 34a029fad6769a95372e4d910c774b0a83d7b32b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 73248c7b66e4860352e50cc85c8977e4821185cae333df866105a9783647bc5657983b379c79bb3fe8dc29be8403b472becaca01b9d659fe4e4d34e903d2d684
|
7
|
+
data.tar.gz: 022df65bd7b07d8452130c3c355955d7ab1d809915677982c7a8b5671c521672e2a8ab7cd9b32efdd6533a6f2ffe2c6921a99d8b874b99f3f3e2ad3a63ca21c2
|
data/README.md
CHANGED
@@ -32,29 +32,29 @@ If the above doesn't help, please [submit an issue](https://github.com/fastlane/
|
|
32
32
|
|
33
33
|
<table id='team'>
|
34
34
|
<tr>
|
35
|
-
<td id='
|
36
|
-
<a href='https://github.com/
|
37
|
-
<img src='https://github.com/
|
35
|
+
<td id='josh-holtz'>
|
36
|
+
<a href='https://github.com/joshdholtz'>
|
37
|
+
<img src='https://github.com/joshdholtz.png?size=140'>
|
38
38
|
</a>
|
39
|
-
<h4 align='center'><a href='https://twitter.com/
|
39
|
+
<h4 align='center'><a href='https://twitter.com/joshdholtz'>Josh Holtz</a></h4>
|
40
40
|
</td>
|
41
|
-
<td id='
|
42
|
-
<a href='https://github.com/
|
43
|
-
<img src='https://github.com/
|
41
|
+
<td id='jan-piotrowski'>
|
42
|
+
<a href='https://github.com/janpio'>
|
43
|
+
<img src='https://github.com/janpio.png?size=140'>
|
44
44
|
</a>
|
45
|
-
<h4 align='center'><a href='https://twitter.com/
|
45
|
+
<h4 align='center'><a href='https://twitter.com/Sujan'>Jan Piotrowski</a></h4>
|
46
46
|
</td>
|
47
|
-
<td id='
|
48
|
-
<a href='https://github.com/
|
49
|
-
<img src='https://github.com/
|
47
|
+
<td id='matthew-ellis'>
|
48
|
+
<a href='https://github.com/matthewellis'>
|
49
|
+
<img src='https://github.com/matthewellis.png?size=140'>
|
50
50
|
</a>
|
51
|
-
<h4 align='center'><a href='https://twitter.com/
|
51
|
+
<h4 align='center'><a href='https://twitter.com/mellis1995'>Matthew Ellis</a></h4>
|
52
52
|
</td>
|
53
|
-
<td id='
|
54
|
-
<a href='https://github.com/
|
55
|
-
<img src='https://github.com/
|
53
|
+
<td id='jorge-revuelta-h'>
|
54
|
+
<a href='https://github.com/minuscorp'>
|
55
|
+
<img src='https://github.com/minuscorp.png?size=140'>
|
56
56
|
</a>
|
57
|
-
<h4 align='center'><a href='https://twitter.com/
|
57
|
+
<h4 align='center'><a href='https://twitter.com/minuscorp'>Jorge Revuelta H</a></h4>
|
58
58
|
</td>
|
59
59
|
<td id='fumiya-nakamura'>
|
60
60
|
<a href='https://github.com/nafu'>
|
@@ -64,11 +64,17 @@ If the above doesn't help, please [submit an issue](https://github.com/fastlane/
|
|
64
64
|
</td>
|
65
65
|
</tr>
|
66
66
|
<tr>
|
67
|
-
<td id='
|
68
|
-
<a href='https://github.com/
|
69
|
-
<img src='https://github.com/
|
67
|
+
<td id='olivier-halligon'>
|
68
|
+
<a href='https://github.com/AliSoftware'>
|
69
|
+
<img src='https://github.com/AliSoftware.png?size=140'>
|
70
70
|
</a>
|
71
|
-
<h4 align='center'><a href='https://twitter.com/
|
71
|
+
<h4 align='center'><a href='https://twitter.com/aligatr'>Olivier Halligon</a></h4>
|
72
|
+
</td>
|
73
|
+
<td id='luka-mirosevic'>
|
74
|
+
<a href='https://github.com/lmirosevic'>
|
75
|
+
<img src='https://github.com/lmirosevic.png?size=140'>
|
76
|
+
</a>
|
77
|
+
<h4 align='center'><a href='https://twitter.com/lmirosevic'>Luka Mirosevic</a></h4>
|
72
78
|
</td>
|
73
79
|
<td id='jérôme-lacoste'>
|
74
80
|
<a href='https://github.com/lacostej'>
|
@@ -76,37 +82,31 @@ If the above doesn't help, please [submit an issue](https://github.com/fastlane/
|
|
76
82
|
</a>
|
77
83
|
<h4 align='center'><a href='https://twitter.com/lacostej'>Jérôme Lacoste</a></h4>
|
78
84
|
</td>
|
79
|
-
<td id='
|
80
|
-
<a href='https://github.com/
|
81
|
-
<img src='https://github.com/
|
82
|
-
</a>
|
83
|
-
<h4 align='center'><a href='https://twitter.com/armcburney'>Andrew McBurney</a></h4>
|
84
|
-
</td>
|
85
|
-
<td id='jan-piotrowski'>
|
86
|
-
<a href='https://github.com/janpio'>
|
87
|
-
<img src='https://github.com/janpio.png?size=140'>
|
85
|
+
<td id='stefan-natchev'>
|
86
|
+
<a href='https://github.com/snatchev'>
|
87
|
+
<img src='https://github.com/snatchev.png?size=140'>
|
88
88
|
</a>
|
89
|
-
<h4 align='center'><a href='https://twitter.com/
|
89
|
+
<h4 align='center'><a href='https://twitter.com/snatchev'>Stefan Natchev</a></h4>
|
90
90
|
</td>
|
91
|
-
<td id='
|
92
|
-
<a href='https://github.com/
|
93
|
-
<img src='https://github.com/
|
91
|
+
<td id='manu-wallner'>
|
92
|
+
<a href='https://github.com/milch'>
|
93
|
+
<img src='https://github.com/milch.png?size=140'>
|
94
94
|
</a>
|
95
|
-
<h4 align='center'><a href='https://twitter.com/
|
95
|
+
<h4 align='center'><a href='https://twitter.com/acrooow'>Manu Wallner</a></h4>
|
96
96
|
</td>
|
97
97
|
</tr>
|
98
98
|
<tr>
|
99
|
-
<td id='
|
100
|
-
<a href='https://github.com/
|
101
|
-
<img src='https://github.com/
|
99
|
+
<td id='andrew-mcburney'>
|
100
|
+
<a href='https://github.com/AndrewMcBurney'>
|
101
|
+
<img src='https://github.com/AndrewMcBurney.png?size=140'>
|
102
102
|
</a>
|
103
|
-
<h4 align='center'><a href='https://twitter.com/
|
103
|
+
<h4 align='center'><a href='https://twitter.com/armcburney'>Andrew McBurney</a></h4>
|
104
104
|
</td>
|
105
|
-
<td id='
|
106
|
-
<a href='https://github.com/
|
107
|
-
<img src='https://github.com/
|
105
|
+
<td id='danielle-tomlinson'>
|
106
|
+
<a href='https://github.com/DanToml'>
|
107
|
+
<img src='https://github.com/DanToml.png?size=140'>
|
108
108
|
</a>
|
109
|
-
<h4 align='center'><a href='https://twitter.com/
|
109
|
+
<h4 align='center'><a href='https://twitter.com/DanToml'>Danielle Tomlinson</a></h4>
|
110
110
|
</td>
|
111
111
|
<td id='helmut-januschka'>
|
112
112
|
<a href='https://github.com/hjanuschka'>
|
@@ -114,43 +114,25 @@ If the above doesn't help, please [submit an issue](https://github.com/fastlane/
|
|
114
114
|
</a>
|
115
115
|
<h4 align='center'><a href='https://twitter.com/hjanuschka'>Helmut Januschka</a></h4>
|
116
116
|
</td>
|
117
|
-
<td id='
|
118
|
-
<a href='https://github.com/
|
119
|
-
<img src='https://github.com/
|
120
|
-
</a>
|
121
|
-
<h4 align='center'><a href='https://twitter.com/getaaron'>Aaron Brager</a></h4>
|
122
|
-
</td>
|
123
|
-
<td id='danielle-tomlinson'>
|
124
|
-
<a href='https://github.com/DanToml'>
|
125
|
-
<img src='https://github.com/DanToml.png?size=140'>
|
117
|
+
<td id='jimmy-dee'>
|
118
|
+
<a href='https://github.com/jdee'>
|
119
|
+
<img src='https://github.com/jdee.png?size=140'>
|
126
120
|
</a>
|
127
|
-
<h4 align='center'
|
121
|
+
<h4 align='center'>Jimmy Dee</h4>
|
128
122
|
</td>
|
129
|
-
</tr>
|
130
|
-
<tr>
|
131
123
|
<td id='felix-krause'>
|
132
124
|
<a href='https://github.com/KrauseFx'>
|
133
125
|
<img src='https://github.com/KrauseFx.png?size=140'>
|
134
126
|
</a>
|
135
127
|
<h4 align='center'><a href='https://twitter.com/KrauseFx'>Felix Krause</a></h4>
|
136
128
|
</td>
|
137
|
-
|
138
|
-
<
|
139
|
-
<
|
140
|
-
|
141
|
-
<
|
142
|
-
</td>
|
143
|
-
<td id='matthew-ellis'>
|
144
|
-
<a href='https://github.com/matthewellis'>
|
145
|
-
<img src='https://github.com/matthewellis.png?size=140'>
|
146
|
-
</a>
|
147
|
-
<h4 align='center'><a href='https://twitter.com/mellis1995'>Matthew Ellis</a></h4>
|
148
|
-
</td>
|
149
|
-
<td id='jimmy-dee'>
|
150
|
-
<a href='https://github.com/jdee'>
|
151
|
-
<img src='https://github.com/jdee.png?size=140'>
|
129
|
+
</tr>
|
130
|
+
<tr>
|
131
|
+
<td id='iulian-onofrei'>
|
132
|
+
<a href='https://github.com/revolter'>
|
133
|
+
<img src='https://github.com/revolter.png?size=140'>
|
152
134
|
</a>
|
153
|
-
<h4 align='center'>
|
135
|
+
<h4 align='center'><a href='https://twitter.com/Revolt666'>Iulian Onofrei</a></h4>
|
154
136
|
</td>
|
155
137
|
<td id='maksym-grebenets'>
|
156
138
|
<a href='https://github.com/mgrebenets'>
|
@@ -158,6 +140,24 @@ If the above doesn't help, please [submit an issue](https://github.com/fastlane/
|
|
158
140
|
</a>
|
159
141
|
<h4 align='center'><a href='https://twitter.com/mgrebenets'>Maksym Grebenets</a></h4>
|
160
142
|
</td>
|
143
|
+
<td id='aaron-brager'>
|
144
|
+
<a href='https://github.com/getaaron'>
|
145
|
+
<img src='https://github.com/getaaron.png?size=140'>
|
146
|
+
</a>
|
147
|
+
<h4 align='center'><a href='https://twitter.com/getaaron'>Aaron Brager</a></h4>
|
148
|
+
</td>
|
149
|
+
<td id='joshua-liebowitz'>
|
150
|
+
<a href='https://github.com/taquitos'>
|
151
|
+
<img src='https://github.com/taquitos.png?size=140'>
|
152
|
+
</a>
|
153
|
+
<h4 align='center'><a href='https://twitter.com/taquitos'>Joshua Liebowitz</a></h4>
|
154
|
+
</td>
|
155
|
+
<td id='kohki-miki'>
|
156
|
+
<a href='https://github.com/giginet'>
|
157
|
+
<img src='https://github.com/giginet.png?size=140'>
|
158
|
+
</a>
|
159
|
+
<h4 align='center'><a href='https://twitter.com/giginet'>Kohki Miki</a></h4>
|
160
|
+
</td>
|
161
161
|
</tr>
|
162
162
|
</table>
|
163
163
|
|
@@ -17,12 +17,12 @@ To modify it, go to its source at https://github.com/fastlane/fastlane/blob/mast
|
|
17
17
|
<%= "> #{action.details.gsub("\n\n", "\n")}" unless action.details.to_s.empty? %>
|
18
18
|
<% end %>
|
19
19
|
|
20
|
-
<%= action.action_name %>
|
21
|
-
|
20
|
+
<%= action.action_name %> ||
|
21
|
+
---|---
|
22
22
|
Supported platforms | <%= [:ios, :android, :mac].find_all { |a| action.is_supported?(a) }.join(", ") %>
|
23
23
|
Author | @<%= Array(action.author || action.authors).join(", @") %>
|
24
24
|
<%- unless action.return_value.to_s.empty? -%>
|
25
|
-
Returns | <%= action.return_value %>
|
25
|
+
Returns | <%= action.return_value.gsub("\n", "<br>") %>
|
26
26
|
<%- end -%>
|
27
27
|
|
28
28
|
<% if (action.example_code || []).count > 0 %>
|
@@ -39,7 +39,7 @@ module Fastlane
|
|
39
39
|
FastlaneCore::ConfigItem.new(key: :adb_path,
|
40
40
|
env_name: "FL_ADB_PATH",
|
41
41
|
optional: true,
|
42
|
-
description: "The path to your `adb` binary",
|
42
|
+
description: "The path to your `adb` binary (can be left blank if the ANDROID_SDK_ROOT environment variable is set)",
|
43
43
|
is_string: true,
|
44
44
|
default_value: "adb")
|
45
45
|
]
|
@@ -28,7 +28,7 @@ module Fastlane
|
|
28
28
|
[
|
29
29
|
FastlaneCore::ConfigItem.new(key: :adb_path,
|
30
30
|
env_name: "FL_ADB_PATH",
|
31
|
-
description: "The path to your `adb` binary",
|
31
|
+
description: "The path to your `adb` binary (can be left blank if the ANDROID_SDK_ROOT environment variable is set)",
|
32
32
|
is_string: true,
|
33
33
|
optional: true,
|
34
34
|
default_value: "adb")
|
@@ -38,8 +38,8 @@ module Fastlane
|
|
38
38
|
def self.example_code
|
39
39
|
[
|
40
40
|
'check_app_store_metadata(
|
41
|
-
negative_apple_sentiment
|
42
|
-
curse_words
|
41
|
+
negative_apple_sentiment: [level: :skip], # Set to skip to not run the `negative_apple_sentiment` rule
|
42
|
+
curse_words: [level: :warn] # Set to warn to only warn on curse word check failures
|
43
43
|
)',
|
44
44
|
'precheck # alias for "check_app_store_metadata"'
|
45
45
|
]
|
@@ -93,18 +93,22 @@ Here a few links to get started:
|
|
93
93
|
- Swift: `snapshot("01LoginScreen")`
|
94
94
|
- Objective C: `[Snapshot snapshot:@"01LoginScreen" timeWaitingForIdle:10];`
|
95
95
|
- Add the following code to your `setUp()` method:
|
96
|
-
|
97
|
-
|
98
|
-
|
99
|
-
|
100
|
-
|
101
|
-
|
102
|
-
|
103
|
-
|
104
|
-
|
105
|
-
|
106
|
-
|
107
|
-
|
96
|
+
|
97
|
+
**Swift:**
|
98
|
+
|
99
|
+
```swift
|
100
|
+
let app = XCUIApplication()
|
101
|
+
setupSnapshot(app)
|
102
|
+
app.launch()
|
103
|
+
```
|
104
|
+
|
105
|
+
**Objective C:**
|
106
|
+
|
107
|
+
```objective-c
|
108
|
+
XCUIApplication *app = [[XCUIApplication alloc] init];
|
109
|
+
[Snapshot setupSnapshot:app];
|
110
|
+
[app launch];
|
111
|
+
```
|
108
112
|
|
109
113
|
_Make sure you only have one `launch` call in your test class, as Xcode adds one automatically on new test files._
|
110
114
|
|
@@ -77,7 +77,7 @@ module Fastlane
|
|
77
77
|
'git_add',
|
78
78
|
'git_add(path: "./version.txt")',
|
79
79
|
'git_add(path: ["./version.txt", "./changelog.txt"])',
|
80
|
-
'git_add(path: "./Frameworks/*", shell_escape: false',
|
80
|
+
'git_add(path: "./Frameworks/*", shell_escape: false)',
|
81
81
|
'git_add(path: ["*.h", "*.m"], shell_escape: false)',
|
82
82
|
'git_add(path: "./Frameworks/*", shell_escape: false)',
|
83
83
|
'git_add(path: "*.txt", shell_escape: false)'
|
@@ -139,7 +139,7 @@ module Fastlane
|
|
139
139
|
[
|
140
140
|
'swiftlint(
|
141
141
|
mode: :lint, # SwiftLint mode: :lint (default) or :autocorrect
|
142
|
-
path: "/path/to/lint" # Specify path to lint (optional)
|
142
|
+
path: "/path/to/lint", # Specify path to lint (optional)
|
143
143
|
output_file: "swiftlint.result.json", # The path of the output file (optional)
|
144
144
|
config_file: ".swiftlint-ci.yml", # The path of the configuration file (optional)
|
145
145
|
files: [ # List of files to process (optional)
|
@@ -1,5 +1,4 @@
|
|
1
1
|
require 'plist'
|
2
|
-
require 'terminal-table'
|
3
2
|
|
4
3
|
module Fastlane
|
5
4
|
module Actions
|
@@ -66,6 +65,7 @@ module Fastlane
|
|
66
65
|
values['app_name'] = plist['AppIDName']
|
67
66
|
values['provisioning_uuid'] = plist['UUID']
|
68
67
|
values['team_name'] = plist['TeamName']
|
68
|
+
values['team_identifier'] = plist['TeamIdentifier'].first
|
69
69
|
|
70
70
|
application_identifier_prefix = plist['ApplicationIdentifierPrefix'][0]
|
71
71
|
full_bundle_identifier = "#{application_identifier_prefix}.#{values['bundle_identifier']}"
|
@@ -77,28 +77,8 @@ module Fastlane
|
|
77
77
|
end
|
78
78
|
|
79
79
|
def self.print_values(values)
|
80
|
-
|
81
|
-
|
82
|
-
t.headings = 'Key', 'Value'
|
83
|
-
values.each do |key, value|
|
84
|
-
columns = []
|
85
|
-
columns << key
|
86
|
-
columns << case value
|
87
|
-
when Hash
|
88
|
-
value.map { |k, v| "#{k}: #{v}" }.join("\n")
|
89
|
-
when Array
|
90
|
-
value.join("\n")
|
91
|
-
else
|
92
|
-
value.to_s
|
93
|
-
end
|
94
|
-
|
95
|
-
t << columns
|
96
|
-
end
|
97
|
-
end
|
98
|
-
|
99
|
-
puts("")
|
100
|
-
puts(table)
|
101
|
-
puts("")
|
80
|
+
FastlaneCore::PrintTable.print_values(config: values,
|
81
|
+
title: "Summary for verify_build #{Fastlane::VERSION}")
|
102
82
|
end
|
103
83
|
|
104
84
|
def self.evaulate(params, values)
|
@@ -16,6 +16,10 @@ module Fastlane
|
|
16
16
|
attr_accessor :devices
|
17
17
|
|
18
18
|
def initialize(adb_path: nil)
|
19
|
+
android_home = ENV['ANDROID_HOME'] || ENV['ANDROID_SDK_ROOT'] || ENV['ANDROID_SDK']
|
20
|
+
if (adb_path.nil? || adb_path == "adb") && android_home
|
21
|
+
adb_path = Pathname.new(android_home).join("platform-tools/adb").to_s
|
22
|
+
end
|
19
23
|
self.adb_path = adb_path
|
20
24
|
end
|
21
25
|
|
@@ -1,5 +1,5 @@
|
|
1
1
|
module Fastlane
|
2
|
-
VERSION = '2.90.0.beta.
|
2
|
+
VERSION = '2.90.0.beta.20180411050056'.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 = '0.49.1'.freeze
|
@@ -1574,8 +1574,10 @@ func getPushCertificate(development: Bool = false,
|
|
1574
1574
|
return runner.executeCommand(command)
|
1575
1575
|
}
|
1576
1576
|
func gitAdd(path: String? = nil,
|
1577
|
+
shellEscape: Bool = true,
|
1577
1578
|
pathspec: String? = nil) {
|
1578
1579
|
let command = RubyCommand(commandID: "", methodName: "git_add", className: nil, args: [RubyCommand.Argument(name: "path", value: path),
|
1580
|
+
RubyCommand.Argument(name: "shell_escape", value: shellEscape),
|
1579
1581
|
RubyCommand.Argument(name: "pathspec", value: pathspec)])
|
1580
1582
|
_ = runner.executeCommand(command)
|
1581
1583
|
}
|
@@ -2212,12 +2214,14 @@ func oclint(oclintPath: String = "oclint",
|
|
2212
2214
|
func onesignal(authToken: String,
|
2213
2215
|
appName: String,
|
2214
2216
|
androidToken: String? = nil,
|
2217
|
+
androidGcmSenderId: String? = nil,
|
2215
2218
|
apnsP12: String? = nil,
|
2216
2219
|
apnsP12Password: String? = nil,
|
2217
2220
|
apnsEnv: String = "production") {
|
2218
2221
|
let command = RubyCommand(commandID: "", methodName: "onesignal", className: nil, args: [RubyCommand.Argument(name: "auth_token", value: authToken),
|
2219
2222
|
RubyCommand.Argument(name: "app_name", value: appName),
|
2220
2223
|
RubyCommand.Argument(name: "android_token", value: androidToken),
|
2224
|
+
RubyCommand.Argument(name: "android_gcm_sender_id", value: androidGcmSenderId),
|
2221
2225
|
RubyCommand.Argument(name: "apns_p12", value: apnsP12),
|
2222
2226
|
RubyCommand.Argument(name: "apns_p12_password", value: apnsP12Password),
|
2223
2227
|
RubyCommand.Argument(name: "apns_env", value: apnsEnv)])
|
@@ -2828,13 +2832,15 @@ func setChangelog(appIdentifier: String,
|
|
2828
2832
|
version: String? = nil,
|
2829
2833
|
changelog: String? = nil,
|
2830
2834
|
teamId: String? = nil,
|
2831
|
-
teamName: String? = nil
|
2835
|
+
teamName: String? = nil,
|
2836
|
+
platform: String = "ios") {
|
2832
2837
|
let command = RubyCommand(commandID: "", methodName: "set_changelog", className: nil, args: [RubyCommand.Argument(name: "app_identifier", value: appIdentifier),
|
2833
2838
|
RubyCommand.Argument(name: "username", value: username),
|
2834
2839
|
RubyCommand.Argument(name: "version", value: version),
|
2835
2840
|
RubyCommand.Argument(name: "changelog", value: changelog),
|
2836
2841
|
RubyCommand.Argument(name: "team_id", value: teamId),
|
2837
|
-
RubyCommand.Argument(name: "team_name", value: teamName)
|
2842
|
+
RubyCommand.Argument(name: "team_name", value: teamName),
|
2843
|
+
RubyCommand.Argument(name: "platform", value: platform)])
|
2838
2844
|
_ = runner.executeCommand(command)
|
2839
2845
|
}
|
2840
2846
|
@discardableResult func setGithubRelease(repositoryName: String,
|
@@ -3240,6 +3246,7 @@ func supply(packageName: String,
|
|
3240
3246
|
_ = runner.executeCommand(command)
|
3241
3247
|
}
|
3242
3248
|
func swiftlint(mode: String = "lint",
|
3249
|
+
path: String? = nil,
|
3243
3250
|
outputFile: String? = nil,
|
3244
3251
|
configFile: String? = nil,
|
3245
3252
|
strict: Bool = false,
|
@@ -3249,6 +3256,7 @@ func swiftlint(mode: String = "lint",
|
|
3249
3256
|
quiet: Bool = false,
|
3250
3257
|
executable: String? = nil) {
|
3251
3258
|
let command = RubyCommand(commandID: "", methodName: "swiftlint", className: nil, args: [RubyCommand.Argument(name: "mode", value: mode),
|
3259
|
+
RubyCommand.Argument(name: "path", value: path),
|
3252
3260
|
RubyCommand.Argument(name: "output_file", value: outputFile),
|
3253
3261
|
RubyCommand.Argument(name: "config_file", value: configFile),
|
3254
3262
|
RubyCommand.Argument(name: "strict", value: strict),
|
@@ -3521,7 +3529,7 @@ func updateUrlSchemes(path: String,
|
|
3521
3529
|
RubyCommand.Argument(name: "update_url_schemes", value: updateUrlSchemes)])
|
3522
3530
|
_ = runner.executeCommand(command)
|
3523
3531
|
}
|
3524
|
-
func uploadSymbolsToCrashlytics(dsymPath: String = "./spec/fixtures/dSYM/Themoji.dSYM",
|
3532
|
+
func uploadSymbolsToCrashlytics(dsymPath: String = "./spec/fixtures/dSYM/Themoji.dSYM.zip",
|
3525
3533
|
apiToken: String? = nil,
|
3526
3534
|
gspPath: String? = nil,
|
3527
3535
|
binaryPath: String? = nil,
|
@@ -3921,4 +3929,4 @@ let screengrabfile: Screengrabfile = Screengrabfile()
|
|
3921
3929
|
let snapshotfile: Snapshotfile = Snapshotfile()
|
3922
3930
|
// Please don't remove the lines below
|
3923
3931
|
// They are used to detect outdated files
|
3924
|
-
// FastlaneRunnerAPIVersion [0.9.
|
3932
|
+
// FastlaneRunnerAPIVersion [0.9.13]
|
@@ -35,11 +35,15 @@ module FastlaneCore
|
|
35
35
|
return package_path
|
36
36
|
end
|
37
37
|
|
38
|
+
def unique_ipa_path(ipa_path)
|
39
|
+
"#{File.basename(ipa_path, '.ipa')}_#{Digest::SHA256.file(ipa_path).hexdigest}.ipa"
|
40
|
+
end
|
41
|
+
|
38
42
|
private
|
39
43
|
|
40
44
|
def copy_ipa(ipa_path)
|
41
|
-
ipa_file_name =
|
42
|
-
resulting_path = File.join(self.package_path,
|
45
|
+
ipa_file_name = unique_ipa_path(ipa_path)
|
46
|
+
resulting_path = File.join(self.package_path, ipa_file_name)
|
43
47
|
FileUtils.cp(ipa_path, resulting_path)
|
44
48
|
|
45
49
|
return resulting_path
|
metadata
CHANGED
@@ -1,33 +1,33 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: fastlane
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.90.0.beta.
|
4
|
+
version: 2.90.0.beta.20180411050056
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Manu Wallner
|
8
|
-
-
|
9
|
-
- Olivier Halligon
|
8
|
+
- Aaron Brager
|
10
9
|
- Matthew Ellis
|
11
|
-
-
|
12
|
-
- Danielle Tomlinson
|
13
|
-
- Helmut Januschka
|
10
|
+
- Jimmy Dee
|
14
11
|
- Felix Krause
|
15
|
-
- Joshua Liebowitz
|
16
|
-
- Josh Holtz
|
17
|
-
- Iulian Onofrei
|
18
12
|
- Jan Piotrowski
|
19
|
-
- Aaron Brager
|
20
|
-
- Jimmy Dee
|
21
13
|
- Luka Mirosevic
|
22
|
-
- Kohki Miki
|
23
|
-
- Stefan Natchev
|
24
|
-
- Maksym Grebenets
|
25
14
|
- Fumiya Nakamura
|
15
|
+
- Maksym Grebenets
|
16
|
+
- Danielle Tomlinson
|
17
|
+
- Iulian Onofrei
|
18
|
+
- Jorge Revuelta H
|
19
|
+
- Helmut Januschka
|
20
|
+
- Joshua Liebowitz
|
21
|
+
- Stefan Natchev
|
22
|
+
- Jérôme Lacoste
|
26
23
|
- Andrew McBurney
|
24
|
+
- Olivier Halligon
|
25
|
+
- Kohki Miki
|
26
|
+
- Josh Holtz
|
27
27
|
autorequire:
|
28
28
|
bindir: bin
|
29
29
|
cert_chain: []
|
30
|
-
date: 2018-04-
|
30
|
+
date: 2018-04-11 00:00:00.000000000 Z
|
31
31
|
dependencies:
|
32
32
|
- !ruby/object:Gem::Dependency
|
33
33
|
name: slack-notifier
|
@@ -1622,23 +1622,23 @@ metadata:
|
|
1622
1622
|
post_install_message:
|
1623
1623
|
rdoc_options: []
|
1624
1624
|
require_paths:
|
1625
|
-
- cert/lib
|
1626
|
-
- match/lib
|
1627
|
-
- frameit/lib
|
1628
1625
|
- pilot/lib
|
1629
|
-
-
|
1630
|
-
-
|
1631
|
-
- supply/lib
|
1632
|
-
- gym/lib
|
1633
|
-
- produce/lib
|
1634
|
-
- pem/lib
|
1635
|
-
- snapshot/lib
|
1626
|
+
- credentials_manager/lib
|
1627
|
+
- scan/lib
|
1636
1628
|
- sigh/lib
|
1637
|
-
-
|
1629
|
+
- frameit/lib
|
1630
|
+
- gym/lib
|
1638
1631
|
- screengrab/lib
|
1632
|
+
- deliver/lib
|
1633
|
+
- snapshot/lib
|
1634
|
+
- supply/lib
|
1639
1635
|
- fastlane/lib
|
1640
|
-
-
|
1641
|
-
-
|
1636
|
+
- fastlane_core/lib
|
1637
|
+
- pem/lib
|
1638
|
+
- produce/lib
|
1639
|
+
- match/lib
|
1640
|
+
- cert/lib
|
1641
|
+
- spaceship/lib
|
1642
1642
|
- precheck/lib
|
1643
1643
|
required_ruby_version: !ruby/object:Gem::Requirement
|
1644
1644
|
requirements:
|