fastlane-plugin-dynatrace 0.1.3 → 0.1.4
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: a86e362b93b41e06e7ce3db6653103addf3e5da5bf1053d8cf3e44e3dd21cb90
|
4
|
+
data.tar.gz: 37631fb83147d67d7c7da9de353fa08eba63d5e60dc19717876f0f23347f57a9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 40c79d0e3639d26a808e5edf628ea931baf023b6f90414096afc5c6decd142255101b660e800f06fe008c198582aa43e9c3e9e01a36266bc79bbc60b7bc3d430
|
7
|
+
data.tar.gz: 89475eb03534935c589d21a1267398f9ae5635c607aa3ca7770b4ed8fbd8dd59e1d4251fa82fcb025d9d969dbfd8ddbf6effed59613405636f3a960c5fe397c6
|
@@ -24,6 +24,7 @@ module Fastlane
|
|
24
24
|
|
25
25
|
|
26
26
|
dsym_paths = []
|
27
|
+
symbolFilesKey = "symbolsfile" #default to iOS
|
27
28
|
|
28
29
|
if (params[:os] == "ios")
|
29
30
|
begin
|
@@ -63,15 +64,16 @@ module Fastlane
|
|
63
64
|
|
64
65
|
else #android
|
65
66
|
dsym_paths << params[:symbolsfile] if params[:symbolsfile]
|
67
|
+
symbolFilesKey = "file"
|
66
68
|
end
|
67
69
|
|
68
70
|
#check if we have dsyms to proceed with
|
69
71
|
if (dsym_paths.count == 0)
|
70
72
|
UI.message "Symbol file path: #{params[:symbolsfile]}" #Ask the user for the symbolFiles path
|
71
73
|
dsym_paths = params[:symbolsfile]
|
72
|
-
symbolFilesCommandSnippet = "
|
74
|
+
symbolFilesCommandSnippet = "#{symbolFilesKey}=\"#{dsym_paths}\""
|
73
75
|
else
|
74
|
-
symbolFilesCommandSnippet = "
|
76
|
+
symbolFilesCommandSnippet = "#{symbolFilesKey}=\"#{dsym_paths[0]}\""
|
75
77
|
end
|
76
78
|
|
77
79
|
#Start constructing the command that will trigger the DTXDssClient
|
@@ -82,7 +84,11 @@ module Fastlane
|
|
82
84
|
command << "apitoken=\"#{params[:apitoken]}\""
|
83
85
|
command << "os=#{params[:os]}"
|
84
86
|
command << "bundleId=\"#{bundleId}\""
|
85
|
-
|
87
|
+
if params[:os] == "ios"
|
88
|
+
command << "versionStr=\"#{version}\""
|
89
|
+
else
|
90
|
+
command << "versionStr=\"#{params[:versionStr]}\""
|
91
|
+
end
|
86
92
|
command << "version=\"#{params[:version]}\""
|
87
93
|
command << symbolFilesCommandSnippet
|
88
94
|
command << "server=\"#{params[:server]}\""
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: fastlane-plugin-dynatrace
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Mohamed Nassar
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-07
|
11
|
+
date: 2019-10-07 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: pry
|