fastlane 2.81.0.beta.20180209010002 → 2.81.0.beta.20180210010002
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
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 68405d8f3fcb1bfc673ede7c227eddd9ae278868
|
4
|
+
data.tar.gz: 2dfaab5aedc2654b16db6f15b6436308e3a011f7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6e285db9ca69e34eb846ee10573509090c1aeb759df7376123ad2c753836860474787de06a54852580dea61d0c47d386632ad52a51725ca9a3c4b641f62323c0
|
7
|
+
data.tar.gz: 5c99607690cec262c018e4cd7f30ebd0161a0aa1fd919521a718099aabfc9b09dc5a21abae30323458aa0a28def2a4afe0c4c8156339db3f64c7592af4d5935a
|
@@ -8,6 +8,11 @@ module Fastlane
|
|
8
8
|
|
9
9
|
find_binary_path(params)
|
10
10
|
find_api_token(params)
|
11
|
+
find_gsp_path(params)
|
12
|
+
|
13
|
+
if !params[:api_token] && !params[:gsp_path]
|
14
|
+
UI.user_error!('Either Fabric API key or path to Firebase Crashlytics GoogleService-Info.plist must be given.')
|
15
|
+
end
|
11
16
|
|
12
17
|
dsym_paths = []
|
13
18
|
dsym_paths << params[:dsym_path] if params[:dsym_path]
|
@@ -79,7 +84,8 @@ module Fastlane
|
|
79
84
|
UI.message("Uploading '#{path}'...")
|
80
85
|
command = []
|
81
86
|
command << File.expand_path(params[:binary_path]).shellescape
|
82
|
-
command << "-a #{params[:api_token]}"
|
87
|
+
command << "-a #{params[:api_token]}" if params[:api_token]
|
88
|
+
command << "-gsp #{params[:gsp_path]}" if params[:gsp_path]
|
83
89
|
command << "-p #{params[:platform] == 'appletvos' ? 'tvos' : params[:platform]}"
|
84
90
|
command << File.expand_path(path).shellescape
|
85
91
|
begin
|
@@ -101,7 +107,15 @@ module Fastlane
|
|
101
107
|
UI.verbose("found an APIKey in #{current}")
|
102
108
|
end
|
103
109
|
end
|
104
|
-
|
110
|
+
end
|
111
|
+
|
112
|
+
def self.find_gsp_path(params)
|
113
|
+
if params[:gsp_path].to_s.length > 0
|
114
|
+
params[:gsp_path] = File.expand_path(params[:gsp_path])
|
115
|
+
else
|
116
|
+
gsp_path = Dir["./**/GoogleService-Info.plist"].first
|
117
|
+
params[:gsp_path] = File.expand_path(gsp_path) unless gsp_path.nil?
|
118
|
+
end
|
105
119
|
end
|
106
120
|
|
107
121
|
def self.find_binary_path(params)
|
@@ -148,6 +162,15 @@ module Fastlane
|
|
148
162
|
verify_block: proc do |value|
|
149
163
|
UI.user_error!("No API token for Crashlytics given, pass using `api_token: 'token'`") if value.to_s.length == 0
|
150
164
|
end),
|
165
|
+
FastlaneCore::ConfigItem.new(key: :gsp_path,
|
166
|
+
env_name: "GOOGLE_SERVICES_INFO_PLIST_PATH",
|
167
|
+
code_gen_sensitive: true,
|
168
|
+
optional: true,
|
169
|
+
description: "Path to GoogleService-Info.plist",
|
170
|
+
verify_block: proc do |value|
|
171
|
+
UI.user_error!("Couldn't find file at path '#{File.expand_path(value)}'") unless File.exist?(value)
|
172
|
+
UI.user_error!("No Path to GoogleService-Info.plist for Firebase Crashlytics given, pass using `gsp_path: 'path'`") if value.to_s.length == 0
|
173
|
+
end),
|
151
174
|
FastlaneCore::ConfigItem.new(key: :binary_path,
|
152
175
|
env_name: "FL_UPLOAD_SYMBOLS_TO_CRASHLYTICS_BINARY_PATH",
|
153
176
|
description: "The path to the upload-symbols file of the Fabric app",
|
@@ -380,7 +380,7 @@ module Fastlane
|
|
380
380
|
UI.important("Alright, we won't create the app for you. Be aware, the build is probably going to fail when you try it")
|
381
381
|
end
|
382
382
|
else
|
383
|
-
UI.success("✅ Your app '#{self.app_identifier}' is available
|
383
|
+
UI.success("✅ Your app '#{self.app_identifier}' is available in your Apple Developer Portal")
|
384
384
|
end
|
385
385
|
end
|
386
386
|
|
@@ -1,5 +1,5 @@
|
|
1
1
|
module Fastlane
|
2
|
-
VERSION = '2.81.0.beta.
|
2
|
+
VERSION = '2.81.0.beta.20180210010002'.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
|
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.81.0.beta.
|
4
|
+
version: 2.81.0.beta.20180210010002
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Fumiya Nakamura
|
@@ -25,7 +25,7 @@ authors:
|
|
25
25
|
autorequire:
|
26
26
|
bindir: bin
|
27
27
|
cert_chain: []
|
28
|
-
date: 2018-02-
|
28
|
+
date: 2018-02-10 00:00:00.000000000 Z
|
29
29
|
dependencies:
|
30
30
|
- !ruby/object:Gem::Dependency
|
31
31
|
name: slack-notifier
|