fastlane-plugin-sentry 1.12.0 → 1.12.1
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: 618a9afa9fc09f00d2c6e2bb511790ade4b5c1fe3c4b4e4bbe1daba8e1714ccb
|
4
|
+
data.tar.gz: 67685133c8f4826680c246ad73a222105dc3d8a67f661086dcafd9f92d182b3e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3e3c4d87b2bbd5703b519570d67ac24c49fc29514b0ba5c60be55165b1ec533233ec47a990db42236f465823fa385cfa7a43a82070805c9744d5a1fdda915250
|
7
|
+
data.tar.gz: 8ee2ebfaaf02cda7f151437ce368619b31a9c732535cf888123e4d8d315bb2b5c3760ac1223800f141c5e81678d1f71e56a362537081855a0aad83973f2d0cce
|
data/README.md
CHANGED
@@ -174,6 +174,10 @@ sentry_create_deploy(
|
|
174
174
|
)
|
175
175
|
```
|
176
176
|
|
177
|
+
### Specify custom sentry-cli path
|
178
|
+
|
179
|
+
For every action, you can specify a custom sentry-cli path by adding `sentry_cli_path` to the action. This defaults to `which sentry-cli`.
|
180
|
+
|
177
181
|
### Checking the sentry-cli is installed
|
178
182
|
|
179
183
|
Useful for checking that the sentry-cli is installed and meets the minimum version requirements before starting to build your app in your lane.
|
@@ -30,43 +30,22 @@ module Fastlane
|
|
30
30
|
command = [sentry_path] + sub_command
|
31
31
|
UI.message "Starting sentry-cli..."
|
32
32
|
require 'open3'
|
33
|
+
|
34
|
+
final_command = command.map { |arg| Shellwords.escape(arg) }.join(" ")
|
35
|
+
|
33
36
|
if FastlaneCore::Globals.verbose?
|
34
|
-
UI.
|
35
|
-
UI.command(command.to_s)
|
36
|
-
UI.verbose("\n\n")
|
37
|
+
UI.command(final_command)
|
37
38
|
end
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
Open3.popen3(final_command) do |stdin, stdout, stderr, wait_thr|
|
42
|
-
while (line = stdout.gets)
|
43
|
-
out << line
|
39
|
+
|
40
|
+
Open3.popen2e(final_command) do |stdin, stdout_and_stderr, status_thread|
|
41
|
+
stdout_and_stderr.each_line do |line|
|
44
42
|
UI.message(line.strip!)
|
45
43
|
end
|
46
|
-
while (line = stderr.gets)
|
47
|
-
error << line.strip!
|
48
|
-
end
|
49
|
-
exit_status = wait_thr.value
|
50
|
-
unless exit_status.success? && error.empty?
|
51
|
-
handle_error(error)
|
52
|
-
end
|
53
|
-
end
|
54
|
-
out.join
|
55
|
-
end
|
56
44
|
|
57
|
-
|
58
|
-
|
59
|
-
for error in errors do
|
60
|
-
if error
|
61
|
-
if error =~ /error/
|
62
|
-
UI.error(error.to_s)
|
63
|
-
fatal = true
|
64
|
-
else
|
65
|
-
UI.verbose(error.to_s)
|
66
|
-
end
|
45
|
+
unless status_thread.value.success?
|
46
|
+
UI.user_error!('Error while calling Sentry CLI')
|
67
47
|
end
|
68
48
|
end
|
69
|
-
UI.user_error!('Error while calling Sentry CLI') if fatal
|
70
49
|
end
|
71
50
|
end
|
72
51
|
end
|
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.12.
|
4
|
+
version: 1.12.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Sentry
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-
|
11
|
+
date: 2022-06-30 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -114,7 +114,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
114
114
|
requirements:
|
115
115
|
- - ">="
|
116
116
|
- !ruby/object:Gem::Version
|
117
|
-
version: 2.
|
117
|
+
version: 2.6.0
|
118
118
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
119
119
|
requirements:
|
120
120
|
- - ">="
|