Skip to content

Commit 5d94df8

Browse files
BrewTestBotcarlocab
authored andcommitted
sentry-cli 2.47.0
1 parent cfc438a commit 5d94df8

File tree

1 file changed

+9
-2
lines changed

1 file changed

+9
-2
lines changed

Formula/s/sentry-cli.rb

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
class SentryCli < Formula
22
desc "Command-line utility to interact with Sentry"
33
homepage "https://docs.sentry.io/cli/"
4-
url "https://github.com/getsentry/sentry-cli/archive/refs/tags/2.46.0.tar.gz"
5-
sha256 "eb7ab4f8ea6338582baf9335fef5d9e5340f918e8ac41116f9f83559b7c4d344"
4+
url "https://github.com/getsentry/sentry-cli/archive/refs/tags/2.47.0.tar.gz"
5+
sha256 "805f5b47dbb17c70627c50af3809b02c89cdfb425424ab4d9f766c09dabfb3a1"
66
license "BSD-3-Clause"
77
head "https://github.com/getsentry/sentry-cli.git", branch: "master"
88

@@ -22,11 +22,18 @@ class SentryCli < Formula
2222
uses_from_macos "bzip2"
2323
uses_from_macos "zlib"
2424

25+
on_ventura :or_older do
26+
depends_on "swift" => :build
27+
end
28+
2529
on_linux do
2630
depends_on "openssl@3"
2731
end
2832

2933
def install
34+
# Disable the nested sandbox to avoid errors when building in our own sandbox.
35+
# TODO: Upstream a way to optionally include `--disable-sandbox` in the `swift` invocation.
36+
inreplace "apple-catalog-parsing/build.rs", '"build",', '"build", "--disable-sandbox",'
3037
system "cargo", "install", *std_cargo_args
3138

3239
generate_completions_from_executable(bin/"sentry-cli", "completions")

0 commit comments

Comments
 (0)