fastlane-plugin-dynatrace 2.1.1 → 2.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: c569a69187e137ae768752a67a68a422a3bbb9df8158e3dda70e00c2277b2cf1
4
- data.tar.gz: d90dbde7c6c298b81fa342d6593e6bf05da7adcb61d61806f4c196f2d5459abf
3
+ metadata.gz: cd58713386b9a6a5a8ad4dd9f0a318a37ced9f0fb225a62a86e4a7d29c7cde44
4
+ data.tar.gz: ee6d0b1ab37f394cd8f4fb89a607ca9c0c0c3440cd7c42418c03b0a4889521f7
5
5
  SHA512:
6
- metadata.gz: e403c5bdd8c29b2ba6099d0ac4b628e64906258ad61aa70593710bec6e4b44766af69c5676503b7829acd6127ea3fb3cd91255d5315a105253884d88dccac725
7
- data.tar.gz: a019fd45536b0f72ef5dcb8fd7f160539e8443e099f51de3ca45486f95f7662282b07afe80b07d0cc3aac282bcd633f5b1fb5ba65809112a5015344eb46ed644
6
+ metadata.gz: 1b2e6def8624592e40be977f4535e27329308f3d3bbff9e7b873df88dae25cae2c338fd4f9061a46a84f6ce109ee324d66a6e56fd0a8b470786bc471bffc6ea2
7
+ data.tar.gz: 78e868e68594c991aee179c55c4644c97fb970cc205ef96952503954c9e54a52f18a3c3d5fea61a210ca52da3b34b2dbd9a536f3f6270de9153fceaecc347762
@@ -87,7 +87,6 @@ module Fastlane
87
87
  command << "#{dtxDssClientPath}"
88
88
  command << "-#{params[:action]}" #"-upload"
89
89
  command << "appid=\"#{params[:appId]}\""
90
- command << "apitoken=\"#{params[:apitoken]}\""
91
90
  command << "os=#{params[:os]}"
92
91
  command << "bundleId=\"#{bundleId}\""
93
92
  command << "versionStr=\"#{params[:versionStr]}\""
@@ -98,12 +97,17 @@ module Fastlane
98
97
  command << "forced=1" # if the file already exists
99
98
  command << "tempdir=\"#{params[:tempdir]}\"" if params[:tempdir]
100
99
 
100
+ print_command = command
101
+
102
+ command << "apitoken=\"#{params[:apitoken]}\""
103
+ print_command << "apitoken=\"#{params[:apitoken]}\"" if params[:debugMode] == true
104
+
101
105
  # Create the full shell command to trigger the DTXDssClient
102
106
  shell_command = command.join(' ')
103
107
 
104
- UI.message "#{shell_command}"
108
+ UI.message "#{print_command}"
105
109
 
106
- sh("#{shell_command}", error_callback: ->(result) {
110
+ Fastlane::Actions.sh("#{shell_command}", log: params[:debugMode] == true, error_callback: ->(result) {
107
111
  # ShAction doesn't return any reference to the return value -> parse it from the output
108
112
  result_groups = result.match /(?:ERROR: Execution failed, rc=)(-?\d*)(?:\sreason=)(.*)/
109
113
  if result_groups and result_groups.length() >= 2
@@ -1,5 +1,5 @@
1
1
  module Fastlane
2
2
  module Dynatrace
3
- VERSION = "2.1.1"
3
+ VERSION = "2.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: 2.1.1
4
+ version: 2.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dynatrace LLC
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-05-28 00:00:00.000000000 Z
11
+ date: 2024-06-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: pry
@@ -266,7 +266,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
266
266
  - !ruby/object:Gem::Version
267
267
  version: '0'
268
268
  requirements: []
269
- rubygems_version: 3.4.10
269
+ rubygems_version: 3.5.4
270
270
  signing_key:
271
271
  specification_version: 4
272
272
  summary: This action processes and uploads your symbol files to Dynatrace