-
Notifications
You must be signed in to change notification settings - Fork 0
/
kubero-cli.rb
55 lines (47 loc) · 1.49 KB
/
kubero-cli.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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
# typed: false
# frozen_string_literal: true
# This file was generated by GoReleaser. DO NOT EDIT.
class KuberoCli < Formula
desc "Manage your kubero applications with the CLI"
homepage "https://www.kubero.dev"
version "2.4.1"
on_macos do
on_intel do
url "https://github.com/kubero-dev/kubero-cli/releases/download/v2.4.1/kubero-cli_darwin_amd64.tar.gz"
sha256 "d7d9b0c1c0d5fabc79de9298a63c06b692eb3f967922ba3c9dc499a35e846ab7"
def install
bin.install "kubero"
end
end
on_arm do
url "https://github.com/kubero-dev/kubero-cli/releases/download/v2.4.1/kubero-cli_darwin_arm64.tar.gz"
sha256 "8a5ff24e91783402018d13aca3c828d1e35b92804c9a98a2336d0a872de63615"
def install
bin.install "kubero"
end
end
end
on_linux do
on_intel do
if Hardware::CPU.is_64_bit?
url "https://github.com/kubero-dev/kubero-cli/releases/download/v2.4.1/kubero-cli_linux_amd64.tar.gz"
sha256 "1773cc35982e54523eeba3f61dc59e7888359dac09482d9f2e966edbd4ca69c3"
def install
bin.install "kubero"
end
end
end
on_arm do
if Hardware::CPU.is_64_bit?
url "https://github.com/kubero-dev/kubero-cli/releases/download/v2.4.1/kubero-cli_linux_arm64.tar.gz"
sha256 "db65bc39d1c38a74eae8bc6acb966fe42710bc45e35417081a1e1e14cbbc4aac"
def install
bin.install "kubero"
end
end
end
end
test do
system "#{bin}/kubero", "--version"
end
end