Skip to content

Commit 6f4664c

Browse files
author
CI
committed
Update Homebrew formula for 2.0.0-rc.8
1 parent 289ed15 commit 6f4664c

1 file changed

Lines changed: 34 additions & 0 deletions

File tree

Formula/gitte.rb

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
class Gitte < Formula
2+
desc "Developer environment orchestration tool"
3+
homepage "https://github.com/cego/gitte"
4+
version "2.0.0-rc.8"
5+
license "MIT"
6+
7+
on_macos do
8+
if Hardware::CPU.arm?
9+
url "https://github.com/cego/gitte/releases/download/2.0.0-rc.8/gitte-darwin-arm64.tar.gz"
10+
sha256 "6e3c551d051a2bacfbc57632a898c853ec68e134fb4ed35066404d520e54bfc6"
11+
else
12+
url "https://github.com/cego/gitte/releases/download/2.0.0-rc.8/gitte-darwin-amd64.tar.gz"
13+
sha256 "100b062bfd41c65aee1667890b89d91e42df5d8546fa4d7054cf288661a633fc"
14+
end
15+
end
16+
17+
on_linux do
18+
if Hardware::CPU.arm?
19+
url "https://github.com/cego/gitte/releases/download/2.0.0-rc.8/gitte-linux-arm64.tar.gz"
20+
sha256 "c592dbdb05c9128e41037ef38609d1982cb069762470c5607dc0cace67ed6432"
21+
else
22+
url "https://github.com/cego/gitte/releases/download/2.0.0-rc.8/gitte-linux-amd64.tar.gz"
23+
sha256 "8fd612a8f6ca2c47b42fb1059b1418b4e3523a10f34dc1aa88472273443db55d"
24+
end
25+
end
26+
27+
def install
28+
bin.install "gitte"
29+
end
30+
31+
test do
32+
system "#{bin}/gitte", "--version"
33+
end
34+
end

0 commit comments

Comments
 (0)