fastlane-plugin-sentry 1.21.0 → 1.22.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/LICENSE +1 -1
- data/README.md +4 -0
- data/bin/sentry-cli-Darwin-universal +0 -0
- data/bin/sentry-cli-Linux-i686 +0 -0
- data/bin/sentry-cli-Linux-x86_64 +0 -0
- data/bin/sentry-cli-Windows-i686.exe +0 -0
- data/bin/sentry-cli-Windows-x86_64.exe +0 -0
- data/lib/fastlane/plugin/sentry/helper/sentry_config.rb +15 -2
- data/lib/fastlane/plugin/sentry/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d9bd92e53e22e2295ad85c64ddec990b175e37ef413a88c19b7f91bbfd9f08a0
|
4
|
+
data.tar.gz: 13875acd7222888788a94bfe11798e7ee7c7daa4c7bc9a41d1f64060380fd377
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3356162dbde0589cb15bb84eeceeddf296f5f6c5f6fc44784fd081f919e581c8eaae1dbdf7a0d5ae115c88c8eadc9e1c4e41a9c8a1f86f504afb75041db248ed
|
7
|
+
data.tar.gz: 51ff26ce6b13240941c84a48a21cf597302d0559c432a5764fd233600149242c351e18a37832912da64886a22223e7febc8547a84666af794ff7fd8d779a8faf
|
data/LICENSE
CHANGED
data/README.md
CHANGED
@@ -208,6 +208,10 @@ Useful for checking that the sentry-cli is installed and meets the minimum versi
|
|
208
208
|
sentry_check_cli_installed()
|
209
209
|
```
|
210
210
|
|
211
|
+
### Logging
|
212
|
+
|
213
|
+
You can set the `sentry-cli` [configuration value](https://docs.sentry.io/product/cli/configuration/#configuration-values) `SENTRY_LOG_LEVEL` by adding `log_level` to any action. Supported values are 'trace', 'debug', 'info', 'warn' and 'error'.
|
214
|
+
|
211
215
|
## Issues and Feedback
|
212
216
|
|
213
217
|
For any other issues and feedback about this plugin, please submit it to this repository.
|
Binary file
|
data/bin/sentry-cli-Linux-i686
CHANGED
Binary file
|
data/bin/sentry-cli-Linux-x86_64
CHANGED
Binary file
|
Binary file
|
Binary file
|
@@ -35,7 +35,14 @@ module Fastlane
|
|
35
35
|
FastlaneCore::ConfigItem.new(key: :project_slug,
|
36
36
|
env_name: "SENTRY_PROJECT_SLUG",
|
37
37
|
description: "Project slug for Sentry",
|
38
|
-
optional: true)
|
38
|
+
optional: true),
|
39
|
+
FastlaneCore::ConfigItem.new(key: :log_level,
|
40
|
+
env_name: "SENTRY_LOG_LEVEL",
|
41
|
+
description: "Configures the log level used by sentry-cli",
|
42
|
+
optional: true,
|
43
|
+
verify_block: proc do |value|
|
44
|
+
UI.user_error! "Invalid log level '#{value}'" unless ['trace', 'debug', 'info', 'warn', 'error'].include? value.downcase
|
45
|
+
end)
|
39
46
|
] + self.common_cli_config_items
|
40
47
|
end
|
41
48
|
|
@@ -47,6 +54,7 @@ module Fastlane
|
|
47
54
|
api_key = params[:api_key]
|
48
55
|
org = params[:org_slug]
|
49
56
|
project = params[:project_slug]
|
57
|
+
log_level = params[:log_level]
|
50
58
|
|
51
59
|
has_org = !org.to_s.empty?
|
52
60
|
has_project = !project.to_s.empty?
|
@@ -54,7 +62,12 @@ module Fastlane
|
|
54
62
|
has_auth_token = !auth_token.to_s.empty?
|
55
63
|
|
56
64
|
ENV['SENTRY_URL'] = url unless url.to_s.empty?
|
57
|
-
|
65
|
+
|
66
|
+
if log_level.to_s.empty?
|
67
|
+
ENV['SENTRY_LOG_LEVEL'] = 'debug' if FastlaneCore::Globals.verbose?
|
68
|
+
else
|
69
|
+
ENV['SENTRY_LOG_LEVEL'] = log_level
|
70
|
+
end
|
58
71
|
|
59
72
|
# Fallback to .sentryclirc if possible when no auth token is provided
|
60
73
|
if !has_api_key && !has_auth_token && fallback_sentry_cli_auth(params)
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: fastlane-plugin-sentry
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.22.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Sentry
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-03
|
11
|
+
date: 2024-05-03 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: os
|