Skip to content

Commit def4b4b

Browse files
author
github-actions
committed
Update formulas for version 1.12.5-internal-rc3
1 parent 3cfe037 commit def4b4b

File tree

2 files changed

+26
-2
lines changed

2 files changed

+26
-2
lines changed
Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
class TctlAT1125-internal-rc3 < Formula
2+
desc "Tetrate Service Bridge Command Line Interface 1.12.5-internal-rc3"
3+
homepage "https://docs.tetrate.io/service-bridge/reference/cli/guide/"
4+
version "1.12.5-internal-rc3"
5+
license "Commercial"
6+
conflicts_with "tctl", because: "Provides the same binary"
7+
8+
if Hardware::CPU.intel?
9+
url "https://binaries.dl.tetrate.io/public/raw/versions/darwin-amd64-1.12.5-internal-rc3/tctl"
10+
sha256 "10e7917cec5404c2659f953116e7a6e9f0d3fb8e90c9348d9aa7316bd31d69ce" # Intel
11+
else
12+
url "https://binaries.dl.tetrate.io/public/raw/versions/darwin-arm64-1.12.5-internal-rc3/tctl"
13+
sha256 "643b19209183fc1ee063f7e03689d038aa73c38e5b846cc839d47e26120213a1" # ARM
14+
end
15+
16+
def install
17+
bin.install "tctl" => "tctl-1.12.5-internal-rc3"
18+
bin.install_symlink "tctl-1.12.5-internal-rc3" => "tctl@1.12.5-internal-rc3"
19+
end
20+
21+
test do
22+
assert_match version.to_s, shell_output("\#{bin}/tctl@1.12.5-internal-rc3 version 2>&1")
23+
end
24+
end

Formula/tctl.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,10 @@ class Tctl < Formula
99

1010
if Hardware::CPU.intel?
1111
url "https://binaries.dl.tetrate.io/public/raw/versions/darwin-amd64-#{version}/tctl"
12-
sha256 "494eb9623e37983374ec91ac1e67683c0122446d5cf27a2fbbe3ec363a5e30aa" # Intel
12+
sha256 "10e7917cec5404c2659f953116e7a6e9f0d3fb8e90c9348d9aa7316bd31d69ce" # Intel
1313
else
1414
url "https://binaries.dl.tetrate.io/public/raw/versions/darwin-arm64-#{version}/tctl"
15-
sha256 "ae9183f7b0e93b07282ecc2c928d28b46f607ac0d781a8162aaeada9c9d66f4a" # ARM
15+
sha256 "643b19209183fc1ee063f7e03689d038aa73c38e5b846cc839d47e26120213a1" # ARM
1616
end
1717

1818
def install

0 commit comments

Comments
 (0)