Skip to content

Commit 4b4b9df

Browse files
committed
Brew formula update for twitch-cli version v1.1.23
1 parent 6c4ccd2 commit 4b4b9df

File tree

1 file changed

+23
-19
lines changed

1 file changed

+23
-19
lines changed

Formula/twitch-cli.rb

+23-19
Original file line numberDiff line numberDiff line change
@@ -5,21 +5,21 @@
55
class TwitchCli < Formula
66
desc "CLI for Twitch's developer offerings"
77
homepage "https://github.com/twitchdev/twitch-cli"
8-
version "1.1.22"
8+
version "1.1.23"
99
license "Apache-2.0"
1010

1111
on_macos do
12-
if Hardware::CPU.arm?
13-
url "https://github.com/twitchdev/twitch-cli/releases/download/v1.1.22/twitch-cli_1.1.22_Darwin_arm64.tar.gz"
14-
sha256 "6be649b47aeff2544eac707942c23c27a34acf25312359d748a9d20d504ac7b6"
12+
on_intel do
13+
url "https://github.com/twitchdev/twitch-cli/releases/download/v1.1.23/twitch-cli_1.1.23_Darwin_x86_64.tar.gz"
14+
sha256 "cc63ecada8bc90ab6682557d3ad19928e125b1171e7f5f9240b70f2fe0c1892c"
1515

1616
def install
1717
bin.install "twitch"
1818
end
1919
end
20-
if Hardware::CPU.intel?
21-
url "https://github.com/twitchdev/twitch-cli/releases/download/v1.1.22/twitch-cli_1.1.22_Darwin_x86_64.tar.gz"
22-
sha256 "a46267cf7718ef34e09658b620dfc918180691e1d2f7e7a0d7b8cf02b836df23"
20+
on_arm do
21+
url "https://github.com/twitchdev/twitch-cli/releases/download/v1.1.23/twitch-cli_1.1.23_Darwin_arm64.tar.gz"
22+
sha256 "d612d3bdbac2207b0d61ed8f94968e2716c1d8b971bdee12132cb8b7a88358ca"
2323

2424
def install
2525
bin.install "twitch"
@@ -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/twitchdev/twitch-cli/releases/download/v1.1.22/twitch-cli_1.1.22_Linux_arm64.tar.gz"
33-
sha256 "76b022ed91f27ab870c11747e9dc9593920d73df43fb1aa173a3ed699b0486bf"
34-
35-
def install
36-
bin.install "twitch"
31+
on_intel do
32+
if Hardware::CPU.is_64_bit?
33+
url "https://github.com/twitchdev/twitch-cli/releases/download/v1.1.23/twitch-cli_1.1.23_Linux_x86_64.tar.gz"
34+
sha256 "19d84de26a8822d340768b3b5d23c9e3662b2c968fbbae0d2108d73aa8ab0d69"
35+
36+
def install
37+
bin.install "twitch"
38+
end
3739
end
3840
end
39-
if Hardware::CPU.intel?
40-
url "https://github.com/twitchdev/twitch-cli/releases/download/v1.1.22/twitch-cli_1.1.22_Linux_x86_64.tar.gz"
41-
sha256 "c072f0397fc359ea3a5a8b9763fecc35fe7f4d9b2fa757392cfcdedadda34baa"
42-
43-
def install
44-
bin.install "twitch"
41+
on_arm do
42+
if Hardware::CPU.is_64_bit?
43+
url "https://github.com/twitchdev/twitch-cli/releases/download/v1.1.23/twitch-cli_1.1.23_Linux_arm64.tar.gz"
44+
sha256 "f4b7f9976367562e36ce9c3a2522d4787bc34566020a9197e8ce2d800db498b6"
45+
46+
def install
47+
bin.install "twitch"
48+
end
4549
end
4650
end
4751
end

0 commit comments

Comments
 (0)