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 TctlAT1122 < Formula
2+ desc "Tetrate Service Bridge Command Line Interface 1.12.2"
3+ homepage "https://docs.tetrate.io/service-bridge/reference/cli/guide/"
4+ version "1.12.2"
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.2/tctl"
10+ sha256 "cda1e3404e867dc60a9ecb19d3c2116bcf61d9c36a5cac4779850de6a4a0d0e4" # Intel
11+ else
12+ url "https://binaries.dl.tetrate.io/public/raw/versions/darwin-arm64-1.12.2/tctl"
13+ sha256 "0204df0dc1c8b4b6b4ab7178735d2bd804080100f01c598b895263e4e066ee66" # ARM
14+ end
15+
16+ def install
17+ bin . install "tctl" => "tctl-1.12.2"
18+ bin . install_symlink "tctl-1.12.2" => "tctl@1.12.2"
19+ end
20+
21+ test do
22+ assert_match version . to_s , shell_output ( "\# {bin}/tctl@1.12.2 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.0 "
7+ version "1.12.2 "
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 "43c98641d7fcb07c78079e8c3895abd100bcfaa9a52b86e41c5f43dd4604aaa4 " # Intel
12+ sha256 "cda1e3404e867dc60a9ecb19d3c2116bcf61d9c36a5cac4779850de6a4a0d0e4 " # Intel
1313 else
1414 url "https://binaries.dl.tetrate.io/public/raw/versions/darwin-arm64-#{ version } /tctl"
15- sha256 "c78f0e1604be2ce41a3ae2538dd3373a7e36f175ed6e44580c339b934d28d94e " # ARM
15+ sha256 "0204df0dc1c8b4b6b4ab7178735d2bd804080100f01c598b895263e4e066ee66 " # ARM
1616 end
1717
1818 def install
You can’t perform that action at this time.
0 commit comments