fastlane 2.116.0.beta.20190201200019 → 2.116.0.beta.20190202200022
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/version.rb +1 -1
- data/fastlane_core/lib/fastlane_core/keychain_importer.rb +25 -7
- data/match/lib/match/runner.rb +1 -1
- metadata +14 -14
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b98421e72126a08adc16c4f061bb737a09c204de
|
4
|
+
data.tar.gz: 44f3a1be01fa5f90d73e3e79c60699f2f8f5a07d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7f4491cc42ec02abd01edbdd0565131c40541b607c50687ac4d4f334e4b0549ff0b9fd58e39551a35cbfb496379d4303eaf28a892b9ec4435c73203a36974a2e
|
7
|
+
data.tar.gz: 5bc8da6371f34146594325bc0eaa153c0a14c839aee118a3f0049d5f5ea6f4131b2f706f089e3fb85d90911d95b0fb3dd05045cd07ff5509de16edc2fb2ea98b
|
@@ -1,5 +1,5 @@
|
|
1
1
|
module Fastlane
|
2
|
-
VERSION = '2.116.0.beta.
|
2
|
+
VERSION = '2.116.0.beta.20190202200022'.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
|
@@ -12,8 +12,26 @@ module FastlaneCore
|
|
12
12
|
command << " -T /usr/bin/security"
|
13
13
|
command << " 1> /dev/null" unless output
|
14
14
|
|
15
|
-
|
15
|
+
UI.command(command) if output
|
16
|
+
Open3.popen3(command) do |stdin, stdout, stderr, thrd|
|
17
|
+
UI.command_output(stdout.read.to_s) if output
|
16
18
|
|
19
|
+
# Set partition list only if success since it can be a time consuming process if a lot of keys are installed
|
20
|
+
if thrd.value.success?
|
21
|
+
set_partition_list(path, keychain_path, keychain_password: keychain_password, output: output)
|
22
|
+
else
|
23
|
+
# Output verbose if file is already installed since not an error otherwise we will show the whole error
|
24
|
+
err = stderr.read.to_s.strip
|
25
|
+
if err.include?("SecKeychainItemImport") && err.include?("The specified item already exists in the keychain")
|
26
|
+
UI.verbose("'#{File.basename(path)}' is already installed on this machine")
|
27
|
+
else
|
28
|
+
UI.error(err)
|
29
|
+
end
|
30
|
+
end
|
31
|
+
end
|
32
|
+
end
|
33
|
+
|
34
|
+
def self.set_partition_list(path, keychain_path, keychain_password: "", output: FastlaneCore::Globals.verbose?)
|
17
35
|
# When security supports partition lists, also add the partition IDs
|
18
36
|
# See https://openradar.appspot.com/28524119
|
19
37
|
if Helper.backticks('security -h | grep set-key-partition-list', print: false).length > 0
|
@@ -33,14 +51,14 @@ module FastlaneCore
|
|
33
51
|
|
34
52
|
# Inform user when no/wrong password was used as its needed to prevent UI permission popup from Xcode when signing
|
35
53
|
if err.include?("SecKeychainItemSetAccessWithPassword")
|
36
|
-
UI.
|
37
|
-
UI.
|
54
|
+
UI.important("")
|
55
|
+
UI.important("Could not configure imported keychain item (certificate) to prevent UI permission popup when code signing\n" \
|
38
56
|
"Check if you supplied the correct `keychain_password` for keychain: `#{keychain_path}`\n" \
|
39
57
|
"#{err}")
|
40
|
-
UI.
|
41
|
-
UI.
|
42
|
-
UI.
|
43
|
-
UI.
|
58
|
+
UI.important("")
|
59
|
+
UI.important("Please look at the following docs to see how to set a keychain password:")
|
60
|
+
UI.important(" - https://docs.fastlane.tools/actions/sync_code_signing")
|
61
|
+
UI.important(" - https://docs.fastlane.tools/actions/get_certificates")
|
44
62
|
else
|
45
63
|
UI.error(err)
|
46
64
|
end
|
data/match/lib/match/runner.rb
CHANGED
@@ -169,7 +169,6 @@ module Match
|
|
169
169
|
self.files_to_commit << private_key_path
|
170
170
|
else
|
171
171
|
cert_path = certs.last
|
172
|
-
|
173
172
|
if Helper.mac?
|
174
173
|
UI.message("Installing certificate...")
|
175
174
|
|
@@ -185,6 +184,7 @@ module Match
|
|
185
184
|
|
186
185
|
# Import the private key
|
187
186
|
# there seems to be no good way to check if it's already installed - so just install it
|
187
|
+
# Key will only be added to the partition list if it isn't already installed
|
188
188
|
Utils.import(keys.last, params[:keychain_name], password: params[:keychain_password])
|
189
189
|
else
|
190
190
|
UI.message("Skipping installation of certificate as it would not work on this operating system.")
|
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.116.0.beta.
|
4
|
+
version: 2.116.0.beta.20190202200022
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Matthew Ellis
|
@@ -27,7 +27,7 @@ authors:
|
|
27
27
|
autorequire:
|
28
28
|
bindir: bin
|
29
29
|
cert_chain: []
|
30
|
-
date: 2019-02-
|
30
|
+
date: 2019-02-02 00:00:00.000000000 Z
|
31
31
|
dependencies:
|
32
32
|
- !ruby/object:Gem::Dependency
|
33
33
|
name: slack-notifier
|
@@ -1687,24 +1687,24 @@ metadata:
|
|
1687
1687
|
post_install_message:
|
1688
1688
|
rdoc_options: []
|
1689
1689
|
require_paths:
|
1690
|
-
- gym/lib
|
1691
|
-
- match/lib
|
1692
|
-
- produce/lib
|
1693
|
-
- sigh/lib
|
1694
|
-
- scan/lib
|
1695
1690
|
- cert/lib
|
1696
|
-
- pilot/lib
|
1697
1691
|
- spaceship/lib
|
1698
|
-
-
|
1699
|
-
- frameit/lib
|
1692
|
+
- scan/lib
|
1700
1693
|
- fastlane/lib
|
1701
|
-
- deliver/lib
|
1702
|
-
- supply/lib
|
1703
|
-
- screengrab/lib
|
1704
1694
|
- snapshot/lib
|
1705
|
-
-
|
1695
|
+
- pem/lib
|
1696
|
+
- gym/lib
|
1706
1697
|
- credentials_manager/lib
|
1698
|
+
- screengrab/lib
|
1699
|
+
- pilot/lib
|
1700
|
+
- match/lib
|
1701
|
+
- sigh/lib
|
1702
|
+
- fastlane_core/lib
|
1703
|
+
- supply/lib
|
1704
|
+
- deliver/lib
|
1707
1705
|
- precheck/lib
|
1706
|
+
- frameit/lib
|
1707
|
+
- produce/lib
|
1708
1708
|
required_ruby_version: !ruby/object:Gem::Requirement
|
1709
1709
|
requirements:
|
1710
1710
|
- - ">="
|