fastlane 2.70.0 → 2.70.1
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/fastlane/lib/fastlane/documentation/docs_generator.rb +5 -17
- data/fastlane/lib/fastlane/helper/crashlytics_helper.rb +1 -1
- data/fastlane/lib/fastlane/swift_fastlane_function.rb +3 -1
- data/fastlane/lib/fastlane/version.rb +1 -1
- data/fastlane/swift/Deliverfile.swift +1 -1
- data/fastlane/swift/Fastlane.swift +10 -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/analytics/analytics_session.rb +1 -4
- data/fastlane_core/lib/fastlane_core/helper.rb +7 -0
- data/match/lib/assets/READMETemplate.md +6 -17
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 994d82ec3bb032862ba43e114e4a91a1d54b74f4
|
|
4
|
+
data.tar.gz: fd3b1c0a375136a680bc8d4f4efa48c04d9366f1
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: f35c74e9fb0e7c53f9c5d3b4d75db102fa11546f013d8641c7ca93772fa7db95e0d2d76e559b6e1aaeb7d009a85bd6b0c44a7731be41d152efe9e72cd265cfee
|
|
7
|
+
data.tar.gz: d9ff540336c00b17d9ae8c9ba9e9513cad60165a3840c67f8b9ffcb9f29a9e69ea9c5df6993ed05c29955fc3533a89735aaced7e32ff75521c52debfa7bfa6c5
|
|
@@ -16,23 +16,11 @@ module Fastlane
|
|
|
16
16
|
output << ""
|
|
17
17
|
output << "## Choose your installation method:"
|
|
18
18
|
output << ""
|
|
19
|
-
output << "
|
|
20
|
-
output << "
|
|
21
|
-
output << "
|
|
22
|
-
output << "
|
|
23
|
-
output << "
|
|
24
|
-
output << "</tr>"
|
|
25
|
-
output << "<tr>"
|
|
26
|
-
output << "<td width=\"33%\" align=\"center\">macOS</td>"
|
|
27
|
-
output << "<td width=\"33%\" align=\"center\">macOS</td>"
|
|
28
|
-
output << "<td width=\"33%\" align=\"center\">macOS or Linux with Ruby 2.0.0 or above</td>"
|
|
29
|
-
output << "</tr>"
|
|
30
|
-
output << "<tr>"
|
|
31
|
-
output << "<td width=\"33%\"><code>brew cask install fastlane</code></td>"
|
|
32
|
-
output << "<td width=\"33%\"><a href=\"https://download.fastlane.tools\">Download the zip file</a>. Then double click on the <code>install</code> script (or run it in a terminal window).</td>"
|
|
33
|
-
output << "<td width=\"33%\"><code>sudo gem install fastlane -NV</code></td>"
|
|
34
|
-
output << "</tr>"
|
|
35
|
-
output << "</table>"
|
|
19
|
+
output << "| Method | OS support | Description |"
|
|
20
|
+
output << "|----------------------------|-----------------------------------------|---------------------------------------------------------------------------------------------------------------------------------------|"
|
|
21
|
+
output << "| [Homebrew](http://brew.sh) | macOS | `brew cask install fastlane` |"
|
|
22
|
+
output << "| Installer Script | macOS | [Download the zip file](https://download.fastlane.tools). Then double click on the `install` script (or run it in a terminal window). |"
|
|
23
|
+
output << "| RubyGems | macOS or Linux with Ruby 2.0.0 or above | `sudo gem install fastlane -NV` |"
|
|
36
24
|
output << ""
|
|
37
25
|
output << "# Available Actions"
|
|
38
26
|
|
|
@@ -46,7 +46,7 @@ module Fastlane
|
|
|
46
46
|
if ENV['JAVA_HOME'].nil?
|
|
47
47
|
command = ["java"]
|
|
48
48
|
else
|
|
49
|
-
command = ["#{ENV['JAVA_HOME']}/bin/java
|
|
49
|
+
command = ["#{ENV['JAVA_HOME']}/bin/java"]
|
|
50
50
|
end
|
|
51
51
|
command << "-jar #{File.expand_path(params[:crashlytics_path])}"
|
|
52
52
|
command << "-androidRes ."
|
|
@@ -26,6 +26,7 @@ module Fastlane
|
|
|
26
26
|
|
|
27
27
|
@default_values_to_ignore = {
|
|
28
28
|
"cert" => ["keychain_path"].to_set,
|
|
29
|
+
"get_certificates" => ["keychain_path"].to_set,
|
|
29
30
|
"set_github_release" => ["api_token"].to_set,
|
|
30
31
|
"github_api" => ["api_token"].to_set,
|
|
31
32
|
"create_pull_request" => ["api_token", "head", "api_url"].to_set,
|
|
@@ -33,7 +34,8 @@ module Fastlane
|
|
|
33
34
|
"verify_xcode" => ["xcode_path"].to_set,
|
|
34
35
|
"produce" => ["sku"].to_set,
|
|
35
36
|
"create_app_online" => ["sku"].to_set,
|
|
36
|
-
"screengrab" => ["android_home"].to_set
|
|
37
|
+
"screengrab" => ["android_home"].to_set,
|
|
38
|
+
"capture_android_screenshots" => ["android_home"].to_set
|
|
37
39
|
}
|
|
38
40
|
end
|
|
39
41
|
|
|
@@ -143,6 +143,7 @@ func appledoc(input: String,
|
|
|
143
143
|
createDocset: Bool = false,
|
|
144
144
|
installDocset: Bool = false,
|
|
145
145
|
publishDocset: Bool = false,
|
|
146
|
+
noCreateDocset: Bool = false,
|
|
146
147
|
htmlAnchors: String? = nil,
|
|
147
148
|
cleanOutput: Bool = false,
|
|
148
149
|
docsetBundleId: String? = nil,
|
|
@@ -187,6 +188,7 @@ func appledoc(input: String,
|
|
|
187
188
|
RubyCommand.Argument(name: "create_docset", value: createDocset),
|
|
188
189
|
RubyCommand.Argument(name: "install_docset", value: installDocset),
|
|
189
190
|
RubyCommand.Argument(name: "publish_docset", value: publishDocset),
|
|
191
|
+
RubyCommand.Argument(name: "no_create_docset", value: noCreateDocset),
|
|
190
192
|
RubyCommand.Argument(name: "html_anchors", value: htmlAnchors),
|
|
191
193
|
RubyCommand.Argument(name: "clean_output", value: cleanOutput),
|
|
192
194
|
RubyCommand.Argument(name: "docset_bundle_id", value: docsetBundleId),
|
|
@@ -639,7 +641,7 @@ func bundleInstall(binstubs: String? = nil,
|
|
|
639
641
|
RubyCommand.Argument(name: "with", value: with)])
|
|
640
642
|
_ = runner.executeCommand(command)
|
|
641
643
|
}
|
|
642
|
-
func captureAndroidScreenshots(androidHome: String
|
|
644
|
+
func captureAndroidScreenshots(androidHome: String?,
|
|
643
645
|
buildToolsVersion: String? = nil,
|
|
644
646
|
locales: [String] = ["en-US"],
|
|
645
647
|
clearPreviousScreenshots: Bool = false,
|
|
@@ -1405,7 +1407,7 @@ func getCertificates(development: Bool = false,
|
|
|
1405
1407
|
teamId: String? = nil,
|
|
1406
1408
|
teamName: String? = nil,
|
|
1407
1409
|
outputPath: String = ".",
|
|
1408
|
-
keychainPath: String
|
|
1410
|
+
keychainPath: String,
|
|
1409
1411
|
keychainPassword: String? = nil,
|
|
1410
1412
|
platform: String = "ios") {
|
|
1411
1413
|
let command = RubyCommand(commandID: "", methodName: "get_certificates", className: nil, args: [RubyCommand.Argument(name: "development", value: development),
|
|
@@ -2338,9 +2340,11 @@ func produce(username: String,
|
|
|
2338
2340
|
return runner.executeCommand(command)
|
|
2339
2341
|
}
|
|
2340
2342
|
func pushGitTags(force: Bool = false,
|
|
2341
|
-
remote: String
|
|
2343
|
+
remote: String = "origin",
|
|
2344
|
+
tag: String? = nil) {
|
|
2342
2345
|
let command = RubyCommand(commandID: "", methodName: "push_git_tags", className: nil, args: [RubyCommand.Argument(name: "force", value: force),
|
|
2343
|
-
RubyCommand.Argument(name: "remote", value: remote)
|
|
2346
|
+
RubyCommand.Argument(name: "remote", value: remote),
|
|
2347
|
+
RubyCommand.Argument(name: "tag", value: tag)])
|
|
2344
2348
|
_ = runner.executeCommand(command)
|
|
2345
2349
|
}
|
|
2346
2350
|
func pushToGitRemote(localBranch: String? = nil,
|
|
@@ -2895,6 +2899,7 @@ func slather(buildDirectory: String? = nil,
|
|
|
2895
2899
|
simpleOutput: Bool? = nil,
|
|
2896
2900
|
gutterJson: Bool? = nil,
|
|
2897
2901
|
coberturaXml: Bool? = nil,
|
|
2902
|
+
llvmCov: String? = nil,
|
|
2898
2903
|
html: Bool? = nil,
|
|
2899
2904
|
show: Bool = false,
|
|
2900
2905
|
sourceDirectory: String? = nil,
|
|
@@ -2922,6 +2927,7 @@ func slather(buildDirectory: String? = nil,
|
|
|
2922
2927
|
RubyCommand.Argument(name: "simple_output", value: simpleOutput),
|
|
2923
2928
|
RubyCommand.Argument(name: "gutter_json", value: gutterJson),
|
|
2924
2929
|
RubyCommand.Argument(name: "cobertura_xml", value: coberturaXml),
|
|
2930
|
+
RubyCommand.Argument(name: "llvm_cov", value: llvmCov),
|
|
2925
2931
|
RubyCommand.Argument(name: "html", value: html),
|
|
2926
2932
|
RubyCommand.Argument(name: "show", value: show),
|
|
2927
2933
|
RubyCommand.Argument(name: "source_directory", value: sourceDirectory),
|
|
@@ -168,10 +168,7 @@ module FastlaneCore
|
|
|
168
168
|
end
|
|
169
169
|
|
|
170
170
|
def operating_system
|
|
171
|
-
return
|
|
172
|
-
return "Windows" if RUBY_PLATFORM.downcase.include?("mswin")
|
|
173
|
-
return "Linux" if RUBY_PLATFORM.downcase.include?("linux")
|
|
174
|
-
return "Unknown"
|
|
171
|
+
return Helper.operating_system
|
|
175
172
|
end
|
|
176
173
|
|
|
177
174
|
def install_method
|
|
@@ -86,6 +86,13 @@ module FastlaneCore
|
|
|
86
86
|
return false
|
|
87
87
|
end
|
|
88
88
|
|
|
89
|
+
def self.operating_system
|
|
90
|
+
return "macOS" if RUBY_PLATFORM.downcase.include?("darwin")
|
|
91
|
+
return "Windows" if RUBY_PLATFORM.downcase.include?("mswin")
|
|
92
|
+
return "Linux" if RUBY_PLATFORM.downcase.include?("linux")
|
|
93
|
+
return "Unknown"
|
|
94
|
+
end
|
|
95
|
+
|
|
89
96
|
def self.windows?
|
|
90
97
|
# taken from: https://stackoverflow.com/a/171011/1945875
|
|
91
98
|
(/cygwin|mswin|mingw|bccwin|wince|emx/ =~ RUBY_PLATFORM) != nil
|
|
@@ -16,23 +16,12 @@ xcode-select --install
|
|
|
16
16
|
|
|
17
17
|
### Choose your installation method:
|
|
18
18
|
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
<tr>
|
|
26
|
-
<td width="33%" align="center">macOS</td>
|
|
27
|
-
<td width="33%" align="center">macOS</td>
|
|
28
|
-
<td width="33%" align="center">macOS or Linux with Ruby 2.0.0 or above</td>
|
|
29
|
-
</tr>
|
|
30
|
-
<tr>
|
|
31
|
-
<td width="33%"><code>brew cask install fastlane</code></td>
|
|
32
|
-
<td width="33%"><a href="https://download.fastlane.tools">Download the zip file</a>. Then double click on the <code>install</code> script (or run it in a terminal window).</td>
|
|
33
|
-
<td width="33%"><code>sudo gem install fastlane -NV</code></td>
|
|
34
|
-
</tr>
|
|
35
|
-
</table>
|
|
19
|
+
| Method | OS support | Description |
|
|
20
|
+
|----------------------------|-----------------------------------------|---------------------------------------------------------------------------------------------------------------------------------------|
|
|
21
|
+
| [Homebrew](http://brew.sh) | macOS | `brew cask install fastlane` |
|
|
22
|
+
| Installer Script | macOS | [Download the zip file](https://download.fastlane.tools). Then double click on the `install` script (or run it in a terminal window). |
|
|
23
|
+
| RubyGems | macOS or Linux with Ruby 2.0.0 or above | `sudo gem install fastlane -NV` |
|
|
24
|
+
|
|
36
25
|
|
|
37
26
|
### Usage
|
|
38
27
|
|