Skip to content

Commit b6e55f9

Browse files
committed
Brew formula update for protoconf version v0.2.0-alpha2
1 parent 5fd4dda commit b6e55f9

File tree

1 file changed

+13
-13
lines changed

1 file changed

+13
-13
lines changed

Formula/protoconf.rb

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -5,21 +5,21 @@
55
class Protoconf < Formula
66
desc "Configuration as Code framework based on protobuf and Starlark."
77
homepage "https://www.protoconf.dev/"
8-
version "0.2.0-alpha1"
8+
version "0.2.0-alpha2"
99
license "MIT"
1010

1111
on_macos do
12-
on_intel do
13-
url "https://github.com/protoconf/protoconf/releases/download/v0.2.0-alpha1/protoconf_0.2.0-alpha1_darwin_amd64.tar.gz"
14-
sha256 "e281ffaf6911893038ed2b9e95d9f950de49bdf014f1c91177781aadb59ee9ba"
12+
if Hardware::CPU.intel?
13+
url "https://github.com/protoconf/protoconf/releases/download/v0.2.0-alpha2/protoconf_0.2.0-alpha2_darwin_amd64.tar.gz"
14+
sha256 "04d0fc68e7dd9226aa52f97ee9ea477378b67214b3f8c163f97f79cdc5ef0145"
1515

1616
def install
1717
bin.install "protoconf"
1818
end
1919
end
20-
on_arm do
21-
url "https://github.com/protoconf/protoconf/releases/download/v0.2.0-alpha1/protoconf_0.2.0-alpha1_darwin_arm64.tar.gz"
22-
sha256 "219f403e7d4c0aa5b90d04b33db859bf65cbf2f6a2f0a44ff0d6d8f87cb89f41"
20+
if Hardware::CPU.arm?
21+
url "https://github.com/protoconf/protoconf/releases/download/v0.2.0-alpha2/protoconf_0.2.0-alpha2_darwin_arm64.tar.gz"
22+
sha256 "9306d23f7819dc1ebdb880e590c7e7a0eca33182e55524eee09845b0acdb8279"
2323

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

3030
on_linux do
31-
on_intel do
31+
if Hardware::CPU.intel?
3232
if Hardware::CPU.is_64_bit?
33-
url "https://github.com/protoconf/protoconf/releases/download/v0.2.0-alpha1/protoconf_0.2.0-alpha1_linux_amd64.tar.gz"
34-
sha256 "337f467205e3e5c6b9c457d0c14281a9f3b51ab486ab6cde6f173df87bf7333b"
33+
url "https://github.com/protoconf/protoconf/releases/download/v0.2.0-alpha2/protoconf_0.2.0-alpha2_linux_amd64.tar.gz"
34+
sha256 "fd40daeffd08a6039fd48dfff6776333204005d8bdc468b00aa57dc50955a934"
3535

3636
def install
3737
bin.install "protoconf"
3838
end
3939
end
4040
end
41-
on_arm do
41+
if Hardware::CPU.arm?
4242
if Hardware::CPU.is_64_bit?
43-
url "https://github.com/protoconf/protoconf/releases/download/v0.2.0-alpha1/protoconf_0.2.0-alpha1_linux_arm64.tar.gz"
44-
sha256 "d376b8cc53e8ac8a4555f493297347b66e42c4b9d2cd93ce992a99d2682675dc"
43+
url "https://github.com/protoconf/protoconf/releases/download/v0.2.0-alpha2/protoconf_0.2.0-alpha2_linux_arm64.tar.gz"
44+
sha256 "9727d784d2a40a46e43075b27d8afb27b174a8e9f7a0ddab14106adcb9c13f2d"
4545

4646
def install
4747
bin.install "protoconf"

0 commit comments

Comments
 (0)