Skip to content

Commit 6f10cc4

Browse files
committed
2 parents d689011 + 565991f commit 6f10cc4

File tree

2 files changed

+27
-3
lines changed

2 files changed

+27
-3
lines changed

Formula/Versions/tctl@1.12.4.rb

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
class TctlAT1124 < Formula
2+
desc "Tetrate Service Bridge Command Line Interface 1.12.4"
3+
homepage "https://docs.tetrate.io/service-bridge/reference/cli/guide/"
4+
version "1.12.4"
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.4/tctl"
10+
sha256 "0ec0636c2633fb24d7a829a6a444c7e3ec82c82f80cb4633b0216955d7912bfe" # Intel
11+
else
12+
url "https://binaries.dl.tetrate.io/public/raw/versions/darwin-arm64-1.12.4/tctl"
13+
sha256 "ca03442c75e6c7c166c16d7288e2856432647a6c278b8932772aa2a280f72f28" # ARM
14+
end
15+
16+
def install
17+
bin.install "tctl" => "tctl-1.12.4"
18+
bin.install_symlink "tctl-1.12.4" => "tctl@1.12.4"
19+
end
20+
21+
test do
22+
assert_match version.to_s, shell_output("\#{bin}/tctl@1.12.4 version 2>&1")
23+
end
24+
end

Formula/tctl.rb

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,15 +4,15 @@ class Tctl < Formula
44

55
desc "Tetrate Service Bridge Command Line Interface"
66
homepage "https://docs.tetrate.io/service-bridge/reference/cli/guide/"
7-
version "1.12.3"
7+
version "1.12.4"
88
license "Commercial"
99

1010
if Hardware::CPU.intel?
1111
url "https://binaries.dl.tetrate.io/public/raw/versions/darwin-amd64-#{version}/tctl"
12-
sha256 "a44edd05924a20c9386fa39717ee402ab0aaa82462dbab5df45e510f3e6d0c60" # Intel
12+
sha256 "0ec0636c2633fb24d7a829a6a444c7e3ec82c82f80cb4633b0216955d7912bfe" # Intel
1313
else
1414
url "https://binaries.dl.tetrate.io/public/raw/versions/darwin-arm64-#{version}/tctl"
15-
sha256 "0f2b683fc3e1ba1b298c13ccbe79eaa6e74f44977aa4caeaa58f0adf274ba445" # ARM
15+
sha256 "ca03442c75e6c7c166c16d7288e2856432647a6c278b8932772aa2a280f72f28" # ARM
1616
end
1717

1818
def install

0 commit comments

Comments
 (0)