fastlane-plugin-waldo 1.5.0 → 1.6.0
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
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 930bf4de096a32ef717f5f4e9a488cf85e13ec1a8c58058ace10ebf583948302
|
4
|
+
data.tar.gz: 1d044beebccaaf38e426370990f046fd3fbc59d08d657bccfa8321cf757fa733
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: df074478d0982a2851bc5d2e936859d5843735002dfb505bd12c60a3e5db091618894db725d0734a23540b4106ff254134534b42e2a3f003301429bd4fd52cb2
|
7
|
+
data.tar.gz: 533d8fae7a307686e93af2908bc11d3e858f8b6f8cd7ef1136e97851873e425103bf7a85015ce455989685147d7222075289cfe82e724fa8e3762bf54e61e2c9
|
@@ -23,8 +23,6 @@ module Fastlane
|
|
23
23
|
apk_path_default = Dir["*.apk"].last || Dir[File.join('app', 'build', 'outputs', 'apk', 'app-release.apk')].last
|
24
24
|
when :ios
|
25
25
|
app_path_default = Dir["*.app"].sort_by { |x| File.mtime(x) }.last
|
26
|
-
# No default dsym_path for now; user must specify it explicitly:
|
27
|
-
# dsym_path_default = (Dir["./**/*.dSYM"] + Dir["./**/*.dSYM.zip"]).sort_by { |x| File.mtime(x) }.last
|
28
26
|
ipa_path_default = Dir["*.ipa"].sort_by { |x| File.mtime(x) }.last
|
29
27
|
end
|
30
28
|
|
@@ -44,12 +42,14 @@ module Fastlane
|
|
44
42
|
optional: true),
|
45
43
|
FastlaneCore::ConfigItem.new(key: :dsym_path,
|
46
44
|
env_name: 'WALDO_DSYM_PATH',
|
47
|
-
# No default dsym_path for now; user must specify it explicitly:
|
48
45
|
description: 'Path to your dSYM file(s)',
|
49
|
-
# description: 'Path to your dSYM file(s) (optional if you use the _gym_ or _xcodebuild_ action)',
|
50
|
-
# default_value: Actions.lane_context[Actions::SharedValues::DSYM_OUTPUT_PATH] || dsym_path_default,
|
51
|
-
# default_value_dynamic: true,
|
52
46
|
optional: true),
|
47
|
+
FastlaneCore::ConfigItem.new(key: :include_symbols,
|
48
|
+
env_name: 'WALDO_INCLUDE_SYMBOLS',
|
49
|
+
description: 'Include symbols in upload if true',
|
50
|
+
optional: true,
|
51
|
+
default_value: false,
|
52
|
+
is_string: false),
|
53
53
|
# Android-specific
|
54
54
|
FastlaneCore::ConfigItem.new(key: :apk_path,
|
55
55
|
env_name: 'WALDO_APK_PATH',
|
@@ -50,6 +50,7 @@ module Fastlane
|
|
50
50
|
apk_path = in_params[:apk_path]
|
51
51
|
app_path = in_params[:app_path]
|
52
52
|
dsym_path = in_params[:dsym_path]
|
53
|
+
include_symbols = in_params[:include_symbols]
|
53
54
|
ipa_path = in_params[:ipa_path]
|
54
55
|
upload_token = in_params[:upload_token]
|
55
56
|
variant_name = in_params[:variant_name]
|
@@ -64,19 +65,44 @@ module Fastlane
|
|
64
65
|
if app_path && ipa_path
|
65
66
|
if !File.exist?(app_path)
|
66
67
|
out_params[:ipa_path] = ipa_path
|
68
|
+
|
69
|
+
app_path = nil
|
67
70
|
elsif !File.exist?(ipa_path)
|
68
71
|
out_params[:app_path] = app_path
|
72
|
+
|
73
|
+
ipa_path = nil
|
69
74
|
elsif File.mtime(app_path) < File.mtime(ipa_path)
|
70
75
|
out_params[:ipa_path] = ipa_path
|
76
|
+
|
77
|
+
app_path = nil
|
71
78
|
else
|
72
79
|
out_params[:app_path] = app_path
|
80
|
+
|
81
|
+
ipa_path = nil
|
73
82
|
end
|
74
83
|
else
|
75
84
|
out_params[:app_path] = app_path if app_path
|
76
85
|
out_params[:ipa_path] = ipa_path if ipa_path
|
77
86
|
end
|
78
87
|
|
79
|
-
|
88
|
+
if app_path
|
89
|
+
if include_symbols
|
90
|
+
if !dsym_path
|
91
|
+
tmp_path = "#{app_path}.dSYM.zip"
|
92
|
+
dsym_path = tmp_path if File.exist?(tmp_path)
|
93
|
+
end
|
94
|
+
|
95
|
+
if !dsym_path
|
96
|
+
tmp_path = "#{app_path}.dSYM"
|
97
|
+
dsym_path = tmp_path if File.exist?(tmp_path)
|
98
|
+
end
|
99
|
+
end
|
100
|
+
|
101
|
+
out_params[:dsym_path] = dsym_path if dsym_path
|
102
|
+
else
|
103
|
+
out_params[:dsym_path] = dsym_path if dsym_path && ipa_path
|
104
|
+
end
|
105
|
+
|
80
106
|
out_params[:upload_token] = upload_token if upload_token && !upload_token.empty?
|
81
107
|
out_params[:variant_name] = variant_name if variant_name
|
82
108
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: fastlane-plugin-waldo
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.6.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- J. G. Pusey
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-
|
11
|
+
date: 2020-06-03 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -97,7 +97,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
97
97
|
- !ruby/object:Gem::Version
|
98
98
|
version: '0'
|
99
99
|
requirements: []
|
100
|
-
rubygems_version: 3.
|
100
|
+
rubygems_version: 3.1.2
|
101
101
|
signing_key:
|
102
102
|
specification_version: 4
|
103
103
|
summary: Upload build to Waldo
|