Skip to content

Commit 5fd4dda

Browse files
committed
Brew formula update for protoconf-xds version v0.1.2-2
1 parent 35d6e3b commit 5fd4dda

File tree

1 file changed

+21
-17
lines changed

1 file changed

+21
-17
lines changed

Formula/protoconf-xds.rb

Lines changed: 21 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -5,21 +5,21 @@
55
class ProtoconfXds < Formula
66
desc "Envoy XDS integration for protoconf"
77
homepage "https://docs.protoconf.sh/"
8-
version "0.1.2-1"
8+
version "0.1.2-2"
99
license "MIT"
1010

1111
on_macos do
12-
if Hardware::CPU.intel?
13-
url "https://github.com/protoconf/protoconf-xds/releases/download/v0.1.2-1/protoconf-xds_0.1.2-1_darwin_amd64.tar.gz"
14-
sha256 "1ca671ee780fc4bef76f3256d3e755ad2eb936277a74501bceb0368e358cc48c"
12+
on_intel do
13+
url "https://github.com/protoconf/protoconf-xds/releases/download/v0.1.2-2/protoconf-xds_0.1.2-2_darwin_amd64.tar.gz"
14+
sha256 "e4cc21fa2eb25ca84a837e860b3f9255f18f823d774823a436394d350949cc12"
1515

1616
def install
1717
bin.install "protoconf-xds"
1818
end
1919
end
20-
if Hardware::CPU.arm?
21-
url "https://github.com/protoconf/protoconf-xds/releases/download/v0.1.2-1/protoconf-xds_0.1.2-1_darwin_arm64.tar.gz"
22-
sha256 "5c3ba548c7735f033c3a54edee6574fda876af1b2c06045444842f0d59eb3646"
20+
on_arm do
21+
url "https://github.com/protoconf/protoconf-xds/releases/download/v0.1.2-2/protoconf-xds_0.1.2-2_darwin_arm64.tar.gz"
22+
sha256 "bd05f09fa50117a85579301eff6e0826d1f1f4b7463a3addfd4489e1289bbd37"
2323

2424
def install
2525
bin.install "protoconf-xds"
@@ -28,20 +28,24 @@ def install
2828
end
2929

3030
on_linux do
31-
if Hardware::CPU.arm? && Hardware::CPU.is_64_bit?
32-
url "https://github.com/protoconf/protoconf-xds/releases/download/v0.1.2-1/protoconf-xds_0.1.2-1_linux_arm64.tar.gz"
33-
sha256 "cd459d149af3a5c7105acf1798580c1bb8ec4b4cf25fb3c01d6130ce794f46e4"
31+
on_intel do
32+
if Hardware::CPU.is_64_bit?
33+
url "https://github.com/protoconf/protoconf-xds/releases/download/v0.1.2-2/protoconf-xds_0.1.2-2_linux_amd64.tar.gz"
34+
sha256 "3d5ef61c084cf4cc2b4f27695659d87482d2312c7ca46a4770f499a2f0cec071"
3435

35-
def install
36-
bin.install "protoconf-xds"
36+
def install
37+
bin.install "protoconf-xds"
38+
end
3739
end
3840
end
39-
if Hardware::CPU.intel?
40-
url "https://github.com/protoconf/protoconf-xds/releases/download/v0.1.2-1/protoconf-xds_0.1.2-1_linux_amd64.tar.gz"
41-
sha256 "8442a94a7d9862234556e9cf562a1c16b121b5a48284fa6584e74f03f38c698c"
41+
on_arm do
42+
if Hardware::CPU.is_64_bit?
43+
url "https://github.com/protoconf/protoconf-xds/releases/download/v0.1.2-2/protoconf-xds_0.1.2-2_linux_arm64.tar.gz"
44+
sha256 "ba250d67253209e61b6ec40ccddbc7e5830f3b9f4cb7d35ed773be118b6dce74"
4245

43-
def install
44-
bin.install "protoconf-xds"
46+
def install
47+
bin.install "protoconf-xds"
48+
end
4549
end
4650
end
4751
end

0 commit comments

Comments
 (0)