fastlane-plugin-sentry 1.21.0 → 1.22.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- 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: 7eeb79b8eac06b06f2634e82c39adb02bc98338518c7a3eef0555d32c335a179
|
4
|
+
data.tar.gz: 8a23a65251c4dc955ea2288d9e002e43431f491636dc0e8b8df5d1f1a51b9c7f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0b8ac832d62e8bccd4466d4f6a511629cd305cc8e356ce21108a5d4964f0035eb5c9c104e18a1f6abde79b365cdf5aa59f2dcfdbaef4a74aefa4dc0ad1968ec8
|
7
|
+
data.tar.gz: 889f534c7fb20cf522cc69da572cc8e9069b21f30022448808e8598af19be5de2df51601b09edec5b0ce3cc329c19a4139ae37ef18e0c5b432f84f3792017d82
|
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.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Sentry
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-
|
11
|
+
date: 2024-04-04 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: os
|