File tree Expand file tree Collapse file tree 2 files changed +27
-3
lines changed
Expand file tree Collapse file tree 2 files changed +27
-3
lines changed Original file line number Diff line number Diff line change 1+ class TctlAT1123 < Formula
2+ desc "Tetrate Service Bridge Command Line Interface 1.12.3"
3+ homepage "https://docs.tetrate.io/service-bridge/reference/cli/guide/"
4+ version "1.12.3"
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.3/tctl"
10+ sha256 "a44edd05924a20c9386fa39717ee402ab0aaa82462dbab5df45e510f3e6d0c60" # Intel
11+ else
12+ url "https://binaries.dl.tetrate.io/public/raw/versions/darwin-arm64-1.12.3/tctl"
13+ sha256 "0f2b683fc3e1ba1b298c13ccbe79eaa6e74f44977aa4caeaa58f0adf274ba445" # ARM
14+ end
15+
16+ def install
17+ bin . install "tctl" => "tctl-1.12.3"
18+ bin . install_symlink "tctl-1.12.3" => "tctl@1.12.3"
19+ end
20+
21+ test do
22+ assert_match version . to_s , shell_output ( "\# {bin}/tctl@1.12.3 version 2>&1" )
23+ end
24+ end
Original file line number Diff line number Diff 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.2 "
7+ version "1.12.3 "
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 "cda1e3404e867dc60a9ecb19d3c2116bcf61d9c36a5cac4779850de6a4a0d0e4 " # Intel
12+ sha256 "a44edd05924a20c9386fa39717ee402ab0aaa82462dbab5df45e510f3e6d0c60 " # Intel
1313 else
1414 url "https://binaries.dl.tetrate.io/public/raw/versions/darwin-arm64-#{ version } /tctl"
15- sha256 "0204df0dc1c8b4b6b4ab7178735d2bd804080100f01c598b895263e4e066ee66 " # ARM
15+ sha256 "0f2b683fc3e1ba1b298c13ccbe79eaa6e74f44977aa4caeaa58f0adf274ba445 " # ARM
1616 end
1717
1818 def install
You can’t perform that action at this time.
0 commit comments