fastlane-plugin-flurry 0.1.1 → 0.1.2
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: 510de5c00af8c9e719fed8c41683ccb64d5ce51c
|
4
|
+
data.tar.gz: '09578735e2561920d0a39360cd067395331319c7'
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4228d4b594f88b9588d0becd45beeef23beee376b51900f284d82a400ccefc05723c717b3fc5f42981f4cbe5a4fe0db810222bb79453e952097fe45599d3e7c7
|
7
|
+
data.tar.gz: 8be1fa38070fce50aea3f21cd40aef17ac6254bd17edc0222d8ea8749280106d83930b820704ff43bcf7d0163393f90aee47e493a9b449ebed6041ceb60896ba
|
@@ -21,14 +21,15 @@ module Fastlane
|
|
21
21
|
project_id = find_project(api_key, auth_token)
|
22
22
|
|
23
23
|
# Params - dSYM
|
24
|
-
|
25
|
-
|
24
|
+
dsym_paths = []
|
25
|
+
dsym_paths += [params[:dsym_path]] if params[:dsym_path]
|
26
|
+
dsym_paths += params[:dsym_paths] if params[:dsym_paths]
|
26
27
|
|
27
|
-
if
|
28
|
+
if dsym_paths.count == 0
|
28
29
|
UI.user_error! "Couldn't find any DSYMs. Please pass them using the dsym_path option)"
|
29
30
|
end
|
30
31
|
|
31
|
-
|
32
|
+
dsym_paths.compact.map do | single_dsym_path |
|
32
33
|
if single_dsym_path.end_with?('.zip')
|
33
34
|
UI.message("Extracting '#{single_dsym_path}'...")
|
34
35
|
single_dsym_path = unzip_file(single_dsym_path)
|
@@ -187,6 +188,7 @@ module Fastlane
|
|
187
188
|
env_name: 'FLURRY_DSYM_PATH',
|
188
189
|
description: 'Path to the DSYM file to upload',
|
189
190
|
default_value: Actions.lane_context[SharedValues::DSYM_OUTPUT_PATH],
|
191
|
+
optional: true,
|
190
192
|
verify_block: proc do |value|
|
191
193
|
UI.user_error!("Couldn't find file at path '#{File.expand_path(value)}'") unless File.exist?(value)
|
192
194
|
UI.user_error!('Symbolication file needs to be dSYM or zip') unless value.end_with?('.dSYM', '.zip')
|