fastlane 2.113.0.beta.20190101200013 → 2.113.0.beta.20190102200016

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
  SHA1:
3
- metadata.gz: c80de30205de36f5abd6f98571812a3d9e0505cc
4
- data.tar.gz: 78918736a2369db72b6bfbab83dabf52803008dc
3
+ metadata.gz: e74a15099e7fdab03a8b9b7506bf12a138b49e99
4
+ data.tar.gz: 730e15af7bad10be76d4eb8aec2e8e3c8168a6dd
5
5
  SHA512:
6
- metadata.gz: d3d000e476b5f8f4323c1285aeba21711383653052fac8f0ae7ba34d7eca1d7297cfb8a880220aebac56a7ddb5682e56203c9e4b9586c6901d4ab82cc574b866
7
- data.tar.gz: d0a95f6ff5de266a0da5f72825bc519567120fb1d053df458157f645873736a4285a6dee2d550791a3bac4bfa4169934a13808ab8d42af9fa22778c4f7807d34
6
+ metadata.gz: 30c07bbfd0305536978d0691cc52ae489c20a25e6226ce633f52558c585a0167a5b243d1c2246224c6df9e020d2b9ddc40a714e5982170c7a589e4f805e676ad
7
+ data.tar.gz: 29c1a71a6aafa1149bb232177302fc96e3f7cbe46db95b6e517ffa0d53e7369aa5f99eb74640e726bf21a753d7dab07e6aef2e554e1161b066817c55425544fd
@@ -1,5 +1,5 @@
1
1
  module Fastlane
2
- VERSION = '2.113.0.beta.20190101200013'.freeze
2
+ VERSION = '2.113.0.beta.20190102200016'.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
@@ -8,7 +8,7 @@ module FastlaneCore
8
8
 
9
9
  command = "security import #{path.shellescape} -k '#{keychain_path.shellescape}'"
10
10
  command << " -P #{certificate_password.shellescape}"
11
- command << " -T /usr/bin/codesign" # to not be asked for permission when running a tool like `gym`
11
+ command << " -T /usr/bin/codesign" # to not be asked for permission when running a tool like `gym` (before Sierra)
12
12
  command << " -T /usr/bin/security"
13
13
  command << " &> /dev/null" unless output
14
14
 
@@ -19,17 +19,22 @@ module FastlaneCore
19
19
  if Helper.backticks('security -h | grep set-key-partition-list', print: false).length > 0
20
20
  command = "security set-key-partition-list"
21
21
  command << " -S apple-tool:,apple:"
22
+ command << " -l 'Imported Private Key'"
22
23
  command << " -k #{keychain_password.to_s.shellescape}"
23
24
  command << " #{keychain_path.shellescape}"
25
+ command << " &> /dev/null" # always disable stdout. This can be very verbose, and leak potentially sensitive info
24
26
 
27
+ UI.command(command) if output
25
28
  Open3.popen3(command) do |stdin, stdout, stderr, thrd|
26
- if output
27
- UI.command(command)
28
- UI.command_output(stdout.read)
29
- end
30
-
31
29
  unless thrd.value.success?
32
- UI.user_error!("Could not configure key to bypass permission popup:\n#{stderr.read}")
30
+ UI.error("")
31
+ UI.error("Could not configure imported keychain item (certificate) to prevent UI permission popup when code signing\n" \
32
+ "Check if you supplied the correct `keychain_password` for keychain: `#{keychain_path}`\n" \
33
+ "#{stderr.read.to_s.strip}")
34
+ UI.error("")
35
+ UI.error("Please look at the following docs to see how to set a keychain password:")
36
+ UI.error(" - https://docs.fastlane.tools/actions/sync_code_signing")
37
+ UI.error(" - https://docs.fastlane.tools/actions/get_certificates")
33
38
  end
34
39
  end
35
40
  end
@@ -40,8 +40,8 @@ module Match
40
40
  encryption.store_password(to)
41
41
 
42
42
  message = "[fastlane] Changed passphrase"
43
- encryption.encrypt_files
44
- storage.save_changes!(custom_message: message)
43
+ files_to_commit = encryption.encrypt_files
44
+ storage.save_changes!(files_to_commit: files_to_commit, custom_message: message)
45
45
  end
46
46
 
47
47
  # This method is called from both here, and from `openssl.rb`
@@ -29,15 +29,20 @@ module Match
29
29
  end
30
30
 
31
31
  def encrypt_files
32
+ files = []
32
33
  iterate(self.working_directory) do |current|
34
+ files << current
33
35
  encrypt_specific_file(path: current, password: password)
34
36
  UI.success("🔒 Encrypted '#{File.basename(current)}'") if FastlaneCore::Globals.verbose?
35
37
  end
36
38
  UI.success("🔒 Successfully encrypted certificates repo")
39
+ return files
37
40
  end
38
41
 
39
42
  def decrypt_files
43
+ files = []
40
44
  iterate(self.working_directory) do |current|
45
+ files << current
41
46
  begin
42
47
  decrypt_specific_file(path: current, password: password)
43
48
  rescue => ex
@@ -51,6 +56,7 @@ module Match
51
56
  UI.success("🔓 Decrypted '#{File.basename(current)}'") if FastlaneCore::Globals.verbose?
52
57
  end
53
58
  UI.success("🔓 Successfully decrypted certificates repo")
59
+ return files
54
60
  end
55
61
 
56
62
  def store_password(password)
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.113.0.beta.20190101200013
4
+ version: 2.113.0.beta.20190102200016
5
5
  platform: ruby
6
6
  authors:
7
7
  - Danielle Tomlinson
@@ -27,7 +27,7 @@ authors:
27
27
  autorequire:
28
28
  bindir: bin
29
29
  cert_chain: []
30
- date: 2019-01-01 00:00:00.000000000 Z
30
+ date: 2019-01-02 00:00:00.000000000 Z
31
31
  dependencies:
32
32
  - !ruby/object:Gem::Dependency
33
33
  name: slack-notifier
@@ -1682,24 +1682,24 @@ metadata:
1682
1682
  post_install_message:
1683
1683
  rdoc_options: []
1684
1684
  require_paths:
1685
- - scan/lib
1686
- - credentials_manager/lib
1685
+ - deliver/lib
1686
+ - pem/lib
1687
+ - pilot/lib
1687
1688
  - screengrab/lib
1688
- - sigh/lib
1689
- - spaceship/lib
1690
1689
  - snapshot/lib
1691
- - deliver/lib
1692
- - precheck/lib
1693
1690
  - gym/lib
1694
- - match/lib
1695
1691
  - cert/lib
1696
- - pilot/lib
1697
1692
  - frameit/lib
1698
- - fastlane/lib
1693
+ - credentials_manager/lib
1694
+ - match/lib
1695
+ - sigh/lib
1696
+ - precheck/lib
1697
+ - fastlane_core/lib
1698
+ - spaceship/lib
1699
1699
  - produce/lib
1700
+ - scan/lib
1701
+ - fastlane/lib
1700
1702
  - supply/lib
1701
- - pem/lib
1702
- - fastlane_core/lib
1703
1703
  required_ruby_version: !ruby/object:Gem::Requirement
1704
1704
  requirements:
1705
1705
  - - ">="