fastlane-plugin-dynatrace 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
  SHA256:
3
- metadata.gz: 111c3620ad1fdd22417ac123098721cb64338809a8f76eb9d5f03e2188c1c9ae
4
- data.tar.gz: c0f908881e52c58785820c784b2a888cd576b791dc12a66e90c2f6c773df940d
3
+ metadata.gz: f927981645e0ccc0e64b0140474e3ee4013b530fb8d3feed6222f73b45fa4f12
4
+ data.tar.gz: c178b4f934268c0d1499fdd33ab59a0e2e35fb1e4411c5c35095b4bd110686c3
5
5
  SHA512:
6
- metadata.gz: b70c112166ad27b2b338543bf908997481338654cee92913b11325d91679a82967a02aa27f11796e9dcbbd32ca5734f28ab4adb79a6b1812d52755783c9fa9fa
7
- data.tar.gz: cab1e7f8593a7dce72e0f9dd92a86299bea83ce9e9c0211dbe64a8a9b2ed8821ff7f1cbe0eb14d05946dee4f164856b7fc27b2c46f33bec9f781bf3fc6b43a4a
6
+ metadata.gz: 24197bea9f72df02426714998845f266b2b3cb19ffe51a4e9ae6d91940d0ea1d97b298084b49e7d0fd327c7151439d96520b16963a40a6294129d4c116a6576d
7
+ data.tar.gz: 3ac487931a3829562ad22d98921e59196ac7a987574ced78bc8dee4ce31a5c4003dc3d37691356cd6b0dccb0d69b0aed03c50d90e2753ed4b40903488b85e386
@@ -42,7 +42,7 @@ module Fastlane
42
42
  if !(username)
43
43
  UI.message "Username: #{params[:username]}"
44
44
  end
45
-
45
+
46
46
  UI.message("Downloading Dsyms from AppStore Connect")
47
47
  Fastlane::Actions::DownloadDsymsAction.run(app_identifier: bundleId,
48
48
  username: username,
@@ -70,6 +70,9 @@ module Fastlane
70
70
  if (dsym_paths.count == 0)
71
71
  UI.message "Symbol file path: #{params[:symbolsfile]}" #Ask the user for the symbolFiles path
72
72
  dsym_paths = params[:symbolsfile]
73
+ symbolFilesCommandSnippet = "symbolsfile=\"#{dsym_paths}\""
74
+ else
75
+ symbolFilesCommandSnippet = "symbolsfile=\"#{dsym_paths[0]}\""
73
76
  end
74
77
 
75
78
  #Start constructing the command that will trigger the DTXDssClient
@@ -83,8 +86,8 @@ module Fastlane
83
86
  command << "bundleName=\"#{params[:bundleName]}\""
84
87
  command << "versionStr=\"#{version}\""
85
88
  command << "version=\"#{params[:version]}\""
86
- command << "symbolsfile=\"#{dsym_paths[0]}\""
87
- command << "server=\"#{params[:server]}\"" #https://qmd19846.dev.dynatracelabs.com/api/config/v1
89
+ command << symbolFilesCommandSnippet
90
+ command << "server=\"#{params[:server]}\""
88
91
  command << "DTXLogLevel=ALL -verbose" if params[:debugMode] == true
89
92
  command << "forced=1" #So that we do not waste time with errors if the file already exists
90
93
 
@@ -92,8 +95,8 @@ module Fastlane
92
95
  shell_command = command.join(' ')
93
96
 
94
97
 
95
- UI.message("Dsym paths: #{dsym_paths}")
96
- # UI.message("#{shell_command}")
98
+ UI.message("Dsym paths: #{dsym_paths[0]}")
99
+ UI.message("#{shell_command}")
97
100
 
98
101
  # Execute the shell command
99
102
  sh "#{shell_command}"
@@ -1,5 +1,5 @@
1
1
  module Fastlane
2
2
  module Dynatrace
3
- VERSION = "0.1.1"
3
+ VERSION = "0.1.2"
4
4
  end
5
5
  end
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.1
4
+ version: 0.1.2
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-04-16 00:00:00.000000000 Z
11
+ date: 2019-04-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: pry