-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathkubectl-eks.rb
47 lines (40 loc) · 1.44 KB
/
kubectl-eks.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
# typed: false
# frozen_string_literal: true
# This file was generated by GoReleaser. DO NOT EDIT.
class KubectlEks < Formula
desc ""
homepage "https://github.com/surajincloud/homebrew-tools"
version "0.4.4"
on_macos do
if Hardware::CPU.intel?
url "https://github.com/surajincloud/kubectl-eks/releases/download/v0.4.4/kubectl-eks_0.4.4_darwin_amd64.tar.gz"
sha256 "afc2bef9c62deab6f85b99b81687da0921c34d7eb2a580cb6a270b5110f3bd4a"
def install
bin.install "kubectl-eks"
end
end
if Hardware::CPU.arm?
url "https://github.com/surajincloud/kubectl-eks/releases/download/v0.4.4/kubectl-eks_0.4.4_darwin_arm64.tar.gz"
sha256 "28eea0ebfcf4d04cce705c219ed332489237b90b1c4fc2207e9e9fcaa6efae07"
def install
bin.install "kubectl-eks"
end
end
end
on_linux do
if Hardware::CPU.arm? && Hardware::CPU.is_64_bit?
url "https://github.com/surajincloud/kubectl-eks/releases/download/v0.4.4/kubectl-eks_0.4.4_linux_arm64.tar.gz"
sha256 "6a96ccd1207d4b46e2b8679fba73ee9808f39c3be71caae8b7a66fb168c24f45"
def install
bin.install "kubectl-eks"
end
end
if Hardware::CPU.intel?
url "https://github.com/surajincloud/kubectl-eks/releases/download/v0.4.4/kubectl-eks_0.4.4_linux_amd64.tar.gz"
sha256 "291a963784fbb06cc7b914be76bb228cda789102ecea02009ea9685e1fdbed44"
def install
bin.install "kubectl-eks"
end
end
end
end