fastlane-plugin-dynatrace 2.0.1 → 2.0.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:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 4c4a6f8d1227ec74720d2e742f0d223851e5289b2b90bd3014c4e786e684ed1a
|
|
4
|
+
data.tar.gz: a03496e08564907a0598c68e35ae4a91374b9430a10c7d3b52ff9341eef26342
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 8b1a244982e3dbb67b333e45cc61f26d48c5caedae2f1b75bb46d1340e3163216891fda2bc1416e8f530af074604876dda906df1c3194e9718d3121ea50416f0
|
|
7
|
+
data.tar.gz: efdbe03451df9edf0bab421ba3066c1d86bdceb777420a0ff9e450b3807847ad56a9ef1de8ab1b255079b232b337d20acf17eacd5fcdf6d784b3053d99e7f610
|
|
@@ -32,28 +32,25 @@ module Fastlane
|
|
|
32
32
|
if params[:os] == "android"
|
|
33
33
|
symbols_path = Helper::DynatraceHelper.zip_if_required(params)
|
|
34
34
|
response, request = Helper::DynatraceHelper.put_android_symbols(params, bundleId, symbols_path)
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
when '401'
|
|
41
|
-
UI.user_error! "Invalid Dynatrace API token. See https://www.dynatrace.com/support/help/dynatrace-api/basics/dynatrace-api-authentication/#token-permissions and https://www.dynatrace.com/support/help/dynatrace-api/configuration-api/mobile-symbolication-api/"
|
|
42
|
-
when '413'
|
|
43
|
-
UI.user_error! "Failed. The symbol file storage quota is exhausted. See https://www.dynatrace.com/support/help/shortlink/mobile-symbolication#manage-the-uploaded-symbol-files for more information."
|
|
44
|
-
else
|
|
35
|
+
|
|
36
|
+
# https://www.dynatrace.com/support/help/dynatrace-api/configuration-api/mobile-symbolication-api/put-files-app-version
|
|
37
|
+
if response.code == '204'
|
|
38
|
+
UI.success "API response: Success."
|
|
39
|
+
else
|
|
45
40
|
message = nil
|
|
46
41
|
unless response.body.nil?
|
|
47
42
|
message = JSON.parse(response.body)["error"]["message"]
|
|
48
43
|
end
|
|
49
44
|
if message.nil?
|
|
50
|
-
UI.user_error! "
|
|
45
|
+
UI.user_error! "API response: #{response.code}. Please try again in a few minutes or contact the Dynatrace support (https://www.dynatrace.com/services-support/)."
|
|
51
46
|
else
|
|
52
|
-
UI.user_error! "
|
|
47
|
+
UI.user_error! "API response: #{message} (Response code: #{response.code})"
|
|
53
48
|
end
|
|
54
49
|
end
|
|
55
50
|
return
|
|
56
|
-
|
|
51
|
+
end
|
|
52
|
+
|
|
53
|
+
if params[:os] != "ios" && params[:os] != "tvos"
|
|
57
54
|
UI.user_error! "Unsopported value os=#{params[:os]}"
|
|
58
55
|
end
|
|
59
56
|
|
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.0.
|
|
4
|
+
version: 2.0.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: 2023-
|
|
11
|
+
date: 2023-06-06 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: pry
|
|
@@ -265,7 +265,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
265
265
|
- !ruby/object:Gem::Version
|
|
266
266
|
version: '0'
|
|
267
267
|
requirements: []
|
|
268
|
-
rubygems_version: 3.
|
|
268
|
+
rubygems_version: 3.4.10
|
|
269
269
|
signing_key:
|
|
270
270
|
specification_version: 4
|
|
271
271
|
summary: This action processes and uploads your symbol files to Dynatrace
|