fastlane 2.19.1 → 2.19.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/fastlane/lib/fastlane/actions/supply.rb +9 -5
- data/fastlane/lib/fastlane/actions/xcov.rb +1 -1
- data/fastlane/lib/fastlane/environment_printer.rb +2 -1
- data/fastlane/lib/fastlane/helper/crashlytics_helper.rb +1 -1
- data/fastlane/lib/fastlane/version.rb +1 -1
- data/fastlane_core/lib/fastlane_core/device_manager.rb +5 -1
- data/fastlane_core/lib/fastlane_core/update_checker/update_checker.rb +2 -0
- data/screengrab/lib/screengrab/commands_generator.rb +1 -1
- data/sigh/lib/sigh/runner.rb +19 -3
- data/snapshot/lib/snapshot/reports_generator.rb +2 -4
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e42076502b4fa3fbe77e4de63470cbda2fecdfa7
|
4
|
+
data.tar.gz: 56cbd81253b36675e0a1cf231e0d4052d79ceee0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 88801822fb60c83c5b33c5f9deb4c0691e52703325cac2afddc240ab83e6d58d08df012f1ded9bfb9a9f6c7551ccc41f609b8098ca8421bb78b58b16c80864b0
|
7
|
+
data.tar.gz: 7b0c816c8630c5cd7427bfb89dd27aefb6b21e5960437e5c1e94b3413b4c4f9538c6d67a09014fff89aba27ee7c92144a4ed93aed8c5e7504e868a10b24de682
|
@@ -5,11 +5,15 @@ module Fastlane
|
|
5
5
|
require 'supply'
|
6
6
|
require 'supply/options'
|
7
7
|
|
8
|
-
|
9
|
-
if
|
10
|
-
|
11
|
-
|
12
|
-
|
8
|
+
# If no APK params were provided, try to fill in the values from lane context, preferring
|
9
|
+
# the multiple APKs over the single APK if set.
|
10
|
+
if params[:apk_paths].nil? && params[:apk].nil?
|
11
|
+
all_apk_paths = Actions.lane_context[SharedValues::GRADLE_ALL_APK_OUTPUT_PATHS] || []
|
12
|
+
if all_apk_paths.size > 1
|
13
|
+
params[:apk_paths] = all_apk_paths
|
14
|
+
else
|
15
|
+
params[:apk] = Actions.lane_context[SharedValues::GRADLE_APK_OUTPUT_PATH]
|
16
|
+
end
|
13
17
|
end
|
14
18
|
|
15
19
|
Supply.config = params # we already have the finished config
|
@@ -218,7 +218,8 @@ module Fastlane
|
|
218
218
|
"Ruby Lib Dir" => anonymized_path(RbConfig::CONFIG['libdir']),
|
219
219
|
"OpenSSL Version" => OpenSSL::OPENSSL_VERSION,
|
220
220
|
"Is contained" => Helper.contained_fastlane?.to_s,
|
221
|
-
"Is homebrew" => Helper.homebrew?.to_s
|
221
|
+
"Is homebrew" => Helper.homebrew?.to_s,
|
222
|
+
"Is installed via Fabric.app" => Helper.mac_app?.to_s
|
222
223
|
}
|
223
224
|
|
224
225
|
if Helper.mac?
|
@@ -51,7 +51,7 @@ module Fastlane
|
|
51
51
|
|
52
52
|
# Optional
|
53
53
|
command << "-betaDistributionEmails '#{params[:emails]}'" if params[:emails]
|
54
|
-
command << "-betaDistributionReleaseNotesFilePath '#{params[:notes_path]}'" if params[:notes_path]
|
54
|
+
command << "-betaDistributionReleaseNotesFilePath '#{File.expand_path(params[:notes_path])}'" if params[:notes_path]
|
55
55
|
command << "-betaDistributionGroupAliases '#{params[:groups]}'" if params[:groups]
|
56
56
|
command << "-betaDistributionNotifications #{(params[:notifications] ? 'true' : 'false')}"
|
57
57
|
|
@@ -224,7 +224,11 @@ module FastlaneCore
|
|
224
224
|
logs_destination_dir = File.expand_path(logs_destination_dir)
|
225
225
|
os_version = FastlaneCore::CommandExecutor.execute(command: 'sw_vers -productVersion', print_all: false, print_command: false)
|
226
226
|
|
227
|
-
|
227
|
+
host_computer_supports_logarchives = Gem::Version.new(os_version) >= Gem::Version.new('10.12.0')
|
228
|
+
device_supports_logarchives = Gem::Version.new(device.os_version) >= Gem::Version.new('10.0')
|
229
|
+
|
230
|
+
are_logarchives_supported = device_supports_logarchives && host_computer_supports_logarchives
|
231
|
+
if are_logarchives_supported
|
228
232
|
copy_logarchive(device, log_identity, logs_destination_dir)
|
229
233
|
else
|
230
234
|
copy_logfile(device, log_identity, logs_destination_dir)
|
@@ -81,6 +81,8 @@ module FastlaneCore
|
|
81
81
|
"bundle update #{gem_name.downcase}"
|
82
82
|
elsif Helper.contained_fastlane? || Helper.homebrew?
|
83
83
|
"fastlane update_fastlane"
|
84
|
+
elsif Helper.mac_app?
|
85
|
+
"the Fabric app. Launch the app and navigate to the fastlane tab to get the most recent version."
|
84
86
|
else
|
85
87
|
"sudo gem update #{gem_name.downcase}"
|
86
88
|
end
|
@@ -15,7 +15,7 @@ module Screengrab
|
|
15
15
|
program :name, 'screengrab'
|
16
16
|
program :version, Fastlane::VERSION
|
17
17
|
program :description, 'CLI for \'screengrab\' - Automate taking localized screenshots of your Android app on emulators or real devices'
|
18
|
-
program :help, 'Authors', 'Andrea Falcone <
|
18
|
+
program :help, 'Authors', 'Andrea Falcone <asfalcone@google.com>, Michael Furtak <mfurtak@google.com>'
|
19
19
|
program :help, 'Website', 'https://fastlane.tools'
|
20
20
|
program :help, 'GitHub', 'https://github.com/fastlane/screengrab'
|
21
21
|
program :help_formatter, :compact
|
data/sigh/lib/sigh/runner.rb
CHANGED
@@ -97,12 +97,28 @@ module Sigh
|
|
97
97
|
|
98
98
|
return results if Sigh.config[:skip_certificate_verification]
|
99
99
|
|
100
|
+
UI.message "Verifying certificates..."
|
100
101
|
return results.find_all do |a|
|
101
|
-
# Also make sure we have the certificate installed on the local machine
|
102
102
|
installed = false
|
103
|
-
|
103
|
+
|
104
|
+
# Attempts to download all certificats from this profile
|
105
|
+
# for checking if they are installed.
|
106
|
+
# `cert.download_raw` can fail if the user is a
|
107
|
+
# "member" and not an a "admin"
|
108
|
+
raw_certs = a.certificates.map do |cert|
|
109
|
+
begin
|
110
|
+
raw_cert = cert.download_raw
|
111
|
+
rescue => error
|
112
|
+
UI.important("Cannot download cert #{cert.id} - #{error.message}")
|
113
|
+
raw_cert = nil
|
114
|
+
end
|
115
|
+
raw_cert
|
116
|
+
end.compact
|
117
|
+
|
118
|
+
# Makes sure we have the certificate installed on the local machine
|
119
|
+
raw_certs.each do |raw_cert|
|
104
120
|
file = Tempfile.new('cert')
|
105
|
-
file.write(
|
121
|
+
file.write(raw_cert)
|
106
122
|
file.close
|
107
123
|
if FastlaneCore::CertChecker.installed?(file.path)
|
108
124
|
installed = true
|
@@ -38,8 +38,6 @@ module Snapshot
|
|
38
38
|
system("open '#{export_path}'") unless Snapshot.config[:skip_open_summary]
|
39
39
|
end
|
40
40
|
|
41
|
-
private
|
42
|
-
|
43
41
|
def available_devices
|
44
42
|
# The order IS important, since those names are used to check for include?
|
45
43
|
# and the iPhone 6 is inlucded in the iPhone 6 Plus
|
@@ -53,14 +51,14 @@ module Snapshot
|
|
53
51
|
'iPhone6' => "iPhone6 (4.7-Inch)",
|
54
52
|
'iPhone5' => "iPhone5 (4-Inch)",
|
55
53
|
'iPhone4' => "iPhone4 (3.5-Inch)",
|
56
|
-
'
|
54
|
+
'iPhoneSE' => "iPhone SE",
|
57
55
|
'iPad2' => "iPad2",
|
58
56
|
'iPadAir2' => 'iPad Air 2',
|
59
57
|
'iPadPro(12.9-inch)' => 'iPad Air Pro (12.9 inch)',
|
60
58
|
'iPadPro(9.7-inch)' => 'iPad Air Pro (9.7 inch)',
|
61
59
|
'iPadPro(9.7inch)' => "iPad Pro (9.7 inch)",
|
62
60
|
'iPadPro(12.9inch)' => "iPad Pro (12.9 inch)",
|
63
|
-
'
|
61
|
+
'iPadPro' => "iPad Pro",
|
64
62
|
'iPad' => "iPad",
|
65
63
|
'Mac' => "Mac"
|
66
64
|
}
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: fastlane
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.19.
|
4
|
+
version: 2.19.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Felix Krause
|
@@ -14,7 +14,7 @@ authors:
|
|
14
14
|
autorequire:
|
15
15
|
bindir: bin
|
16
16
|
cert_chain: []
|
17
|
-
date: 2017-03-
|
17
|
+
date: 2017-03-06 00:00:00.000000000 Z
|
18
18
|
dependencies:
|
19
19
|
- !ruby/object:Gem::Dependency
|
20
20
|
name: slack-notifier
|
@@ -1323,7 +1323,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
1323
1323
|
version: '0'
|
1324
1324
|
requirements: []
|
1325
1325
|
rubyforge_project:
|
1326
|
-
rubygems_version: 2.5.
|
1326
|
+
rubygems_version: 2.5.2
|
1327
1327
|
signing_key:
|
1328
1328
|
specification_version: 4
|
1329
1329
|
summary: The easiest way to automate beta deployments and releases for your iOS and
|