fastlane 2.132.0.beta.20190915200038 → 2.132.0.beta.20190920200012

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: '08cf86751f39d210de3fb36d73d25fa4fb3f48bb'
4
- data.tar.gz: 66ed8a664360a1fd6e273f4ba2ea595588d82e81
3
+ metadata.gz: 3247e4c5b3c80c88baa6b716a4f7650dc61a4e8a
4
+ data.tar.gz: 001e2c7f0b92be7c892bf4e5647b0a6071a07f09
5
5
  SHA512:
6
- metadata.gz: b219f46abf0e730f836c8c8ea8cd9d8ece00f5afb342b38313d3a281f051684e65503fdacd30e699ec44c8e6b13a2f289c55b3d820d840441ac96d74dce3d758
7
- data.tar.gz: 55f86ad47262c3c24adc1014c3126db110f7f5f8fa70f7d855c7eb5ef358edf58be3f233065d8f32682379373a21a118c960d4310c7f92365d2fd0e1d829bfe2
6
+ metadata.gz: 4121debd22ce939ebcafcde83bb556ed5f85ec7bbc801013fd3eb49ec0980253e94f8c40f04654d802bdafb9ecd123b21cbd7e4cfb20726f97866308d9e6ab21
7
+ data.tar.gz: d4f8079fb3a28209abc6ba9eb8c122d04b8430aff9bbb62558c5244003420fe59958a78c6d4e76aaaee2605f73f253d75924a917535b93fc2da4485cec9d9610
@@ -79,7 +79,7 @@ You'll be asked if you want to store your code signing identities inside a **Git
79
79
 
80
80
  Use Git Storage to store all code signing identities in a private git repo, owned and operated by you. The files will be encrypted using OpenSSL.
81
81
 
82
- First, enter the URL to your private (!) Git repo (You can create one for free on e.g. [GitHub](https://github.com/new) or [BitBucket](https://bitbucket.org/repo/create)). The URL you enter can be either a `https://` or a `git` URL. (If your machine is currently using SSH to authenticate with GitHub, you'll want to use a `git` URL, otherwise you may see an authentication error when you attempt to use match.) `fastlane match init` won't read or modify your certificates or profiles yet, and also won't validate your git URL.
82
+ First, enter the URL to your private (!) Git repo (You can create one for free on e.g. [GitHub](https://github.com/new) or [BitBucket](https://bitbucket.org/repo/create)). The URL you enter can be either a `https://` or a `git` URL. `fastlane match init` won't read or modify your certificates or profiles yet, and also won't validate your git URL.
83
83
 
84
84
  This will create a `Matchfile` in your current directory (or in your `./fastlane/` folder).
85
85
 
@@ -92,6 +92,25 @@ app_identifier("tools.fastlane.app")
92
92
  username("user@fastlane.tools")
93
93
  ```
94
94
 
95
+ ##### Git Storage on GitHub
96
+
97
+ If your machine is currently using SSH to authenticate with GitHub, you'll want to use a `git` URL, otherwise, you may see an authentication error when you attempt to use match. Alternatively, you can set a basic authorization for _match_:
98
+
99
+ Using parameter:
100
+
101
+ ```
102
+ math(git_basic_authorization: '<YOUR KEY>')
103
+ ```
104
+
105
+ Using environment variable:
106
+
107
+ ```
108
+ ENV['MATCH_GIT_BASIC_AUTHORIZATION'] = '<YOUR KEY>'
109
+ match
110
+ ```
111
+
112
+ You can find more information about GitHub basic authentication and personal token generation here: [https://developer.github.com/v3/auth/#basic-authentication](https://developer.github.com/v3/auth/#basic-authentication)
113
+
95
114
  #### Google Cloud Storage
96
115
 
97
116
  Use [Google Cloud Storage](https://cloud.google.com/storage/) for a fully hosted solution for your code signing identities. Certificates are stored on Google Cloud, encrypted using Google managed keys. Everything will be stored on your Google account, inside a storage bucket you provide. You can also directly access the files using the web console.
@@ -1,5 +1,5 @@
1
1
  module Fastlane
2
- VERSION = '2.132.0.beta.20190915200038'.freeze
2
+ VERSION = '2.132.0.beta.20190920200012'.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
@@ -115,6 +115,12 @@ module Match
115
115
  description: "Clone just the branch specified, instead of the whole repo. This requires that the branch already exists. Otherwise the command will fail",
116
116
  is_string: false,
117
117
  default_value: false),
118
+ FastlaneCore::ConfigItem.new(key: :git_basic_authorization,
119
+ env_name: "MATCH_GIT_BASIC_AUTHORIZATION",
120
+ sensitive: true,
121
+ description: "Use a basic authorization header to access the git repo (e.g.: access via HTTPS, GitHub Actions, etc)",
122
+ optional: true,
123
+ default_value: nil),
118
124
 
119
125
  # Storage: Google Cloud
120
126
  FastlaneCore::ConfigItem.new(key: :google_cloud_bucket_name,
@@ -37,6 +37,7 @@ module Match
37
37
  git_full_name: params[:git_full_name],
38
38
  git_user_email: params[:git_user_email],
39
39
  clone_branch_directly: params[:clone_branch_directly],
40
+ git_basic_authorization: params[:git_basic_authorization],
40
41
  type: params[:type].to_s,
41
42
  platform: params[:platform].to_s,
42
43
  google_cloud_bucket_name: params[:google_cloud_bucket_name].to_s,
@@ -17,6 +17,7 @@ module Match
17
17
  attr_accessor :clone_branch_directly
18
18
  attr_accessor :type
19
19
  attr_accessor :platform
20
+ attr_accessor :git_basic_authorization
20
21
 
21
22
  def self.configure(params)
22
23
  return self.new(
@@ -28,7 +29,8 @@ module Match
28
29
  branch: params[:git_branch],
29
30
  git_full_name: params[:git_full_name],
30
31
  git_user_email: params[:git_user_email],
31
- clone_branch_directly: params[:clone_branch_directly]
32
+ clone_branch_directly: params[:clone_branch_directly],
33
+ git_basic_authorization: params[:git_basic_authorization]
32
34
  )
33
35
  end
34
36
 
@@ -40,7 +42,8 @@ module Match
40
42
  branch: "master",
41
43
  git_full_name: nil,
42
44
  git_user_email: nil,
43
- clone_branch_directly: false)
45
+ clone_branch_directly: false,
46
+ git_basic_authorization: nil)
44
47
  self.git_url = git_url
45
48
  self.shallow_clone = shallow_clone
46
49
  self.skip_docs = skip_docs
@@ -48,6 +51,7 @@ module Match
48
51
  self.git_full_name = git_full_name
49
52
  self.git_user_email = git_user_email
50
53
  self.clone_branch_directly = clone_branch_directly
54
+ self.git_basic_authorization = git_basic_authorization
51
55
 
52
56
  self.type = type if type
53
57
  self.platform = platform if platform
@@ -65,6 +69,8 @@ module Match
65
69
  self.working_directory = Dir.mktmpdir
66
70
 
67
71
  command = "git clone #{self.git_url.shellescape} #{self.working_directory.shellescape}"
72
+ command << " -c http.extraheader='AUTHORIZATION: basic #{self.git_basic_authorization.shellescape}'" unless self.git_basic_authorization.nil?
73
+
68
74
  if self.shallow_clone
69
75
  command << " --depth 1 --no-single-branch"
70
76
  elsif self.clone_branch_directly
@@ -77,6 +77,9 @@ module Snapshot
77
77
  {
78
78
  # snapshot in Xcode 9 saves screenshots with the SIMULATOR_DEVICE_NAME
79
79
  # which includes spaces
80
+ 'iPhone 11 Pro Max' => "iPhone 11 Pro Max",
81
+ 'iPhone 11 Pro' => "iPhone 11 Pro",
82
+ 'iPhone 11' => "iPhone 11",
80
83
  'iPhone XS Max' => "iPhone XS Max",
81
84
  'iPhone XS' => "iPhone XS",
82
85
  'iPhone XR' => "iPhone XR",
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.132.0.beta.20190915200038
4
+ version: 2.132.0.beta.20190920200012
5
5
  platform: ruby
6
6
  authors:
7
7
  - Andrew McBurney
@@ -27,7 +27,7 @@ authors:
27
27
  autorequire:
28
28
  bindir: bin
29
29
  cert_chain: []
30
- date: 2019-09-15 00:00:00.000000000 Z
30
+ date: 2019-09-20 00:00:00.000000000 Z
31
31
  dependencies:
32
32
  - !ruby/object:Gem::Dependency
33
33
  name: slack-notifier
@@ -1746,24 +1746,24 @@ metadata:
1746
1746
  post_install_message:
1747
1747
  rdoc_options: []
1748
1748
  require_paths:
1749
+ - frameit/lib
1750
+ - sigh/lib
1751
+ - spaceship/lib
1752
+ - snapshot/lib
1749
1753
  - scan/lib
1754
+ - screengrab/lib
1755
+ - pilot/lib
1756
+ - pem/lib
1750
1757
  - fastlane_core/lib
1758
+ - gym/lib
1751
1759
  - credentials_manager/lib
1752
- - snapshot/lib
1753
- - produce/lib
1754
- - frameit/lib
1760
+ - precheck/lib
1755
1761
  - fastlane/lib
1756
- - screengrab/lib
1757
- - deliver/lib
1758
- - spaceship/lib
1759
- - pem/lib
1760
- - sigh/lib
1761
1762
  - cert/lib
1762
- - match/lib
1763
- - pilot/lib
1764
- - precheck/lib
1765
- - gym/lib
1763
+ - deliver/lib
1764
+ - produce/lib
1766
1765
  - supply/lib
1766
+ - match/lib
1767
1767
  required_ruby_version: !ruby/object:Gem::Requirement
1768
1768
  requirements:
1769
1769
  - - ">="