-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathksbuilder.rb
41 lines (35 loc) · 1.13 KB
/
ksbuilder.rb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
# typed: false
# frozen_string_literal: true
# This file was generated by GoReleaser. DO NOT EDIT.
class Ksbuilder < Formula
desc ""
homepage "https://github.com/kubesphere/ksbuilder"
version "0.4.4"
on_macos do
url "https://github.com/kubesphere/ksbuilder/releases/download/v0.4.4/ksbuilder_0.4.4_darwin_all.tar.gz"
sha256 "93bdafd6ce9e193c308e18662acfc41c20661655f266beff998472aaa42e8e25"
def install
bin.install "ksbuilder"
end
end
on_linux do
on_intel do
if Hardware::CPU.is_64_bit?
url "https://github.com/kubesphere/ksbuilder/releases/download/v0.4.4/ksbuilder_0.4.4_linux_amd64.tar.gz"
sha256 "35d6b3217b54026c260ea4bbedcd674a69284b6df421fc82059f0739e00737d3"
def install
bin.install "ksbuilder"
end
end
end
on_arm do
if Hardware::CPU.is_64_bit?
url "https://github.com/kubesphere/ksbuilder/releases/download/v0.4.4/ksbuilder_0.4.4_linux_arm64.tar.gz"
sha256 "05cdd3300217af90e7f5d93d80dee354aaee4fc85ad157604934c810d3c540a9"
def install
bin.install "ksbuilder"
end
end
end
end
end