-
Notifications
You must be signed in to change notification settings - Fork 0
/
k8sconfig.rb
52 lines (45 loc) · 1.65 KB
/
k8sconfig.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
# typed: false
# frozen_string_literal: true
# This file was generated by GoReleaser. DO NOT EDIT.
require_relative "lib/private_strategy"
class K8sconfig < Formula
desc ""
homepage "https://github.com/envoy/homebrew-tools"
version "0.17.1"
on_macos do
on_intel do
url "https://github.com/envoy/k8sconfig/releases/download/v0.17.1/k8sconfig_Darwin_x86_64.tar.gz", using: GitHubPrivateRepositoryReleaseDownloadStrategy
sha256 "2bec906a9ab6035d7e3a65f766f4d6e1637c80cca415fc790876c00006896c4e"
def install
bin.install "k8sconfig"
end
end
on_arm do
url "https://github.com/envoy/k8sconfig/releases/download/v0.17.1/k8sconfig_Darwin_arm64.tar.gz", using: GitHubPrivateRepositoryReleaseDownloadStrategy
sha256 "4443eaf9187918c175e8d5be7f2086b29496d1fb8efb5ca53456ef5ceefd1ed9"
def install
bin.install "k8sconfig"
end
end
end
on_linux do
on_intel do
if Hardware::CPU.is_64_bit?
url "https://github.com/envoy/k8sconfig/releases/download/v0.17.1/k8sconfig_Linux_x86_64.tar.gz", using: GitHubPrivateRepositoryReleaseDownloadStrategy
sha256 "2e93f62aec2941f3422e953c0032b555a9b33a97c442e8b2048b87619fe240fc"
def install
bin.install "k8sconfig"
end
end
end
on_arm do
if Hardware::CPU.is_64_bit?
url "https://github.com/envoy/k8sconfig/releases/download/v0.17.1/k8sconfig_Linux_arm64.tar.gz", using: GitHubPrivateRepositoryReleaseDownloadStrategy
sha256 "8d0b7fd239b34297581cee082aa3d4b900c200165a42829b3074fc6a2e0360ee"
def install
bin.install "k8sconfig"
end
end
end
end
end