-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathk8sconfig.rb
52 lines (45 loc) · 1.7 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.19.1"
on_macos do
if Hardware::CPU.intel?
url "https://github.com/envoy/k8sconfig/releases/download/v0.19.1/k8sconfig_Darwin_x86_64.tar.gz", using: GitHubPrivateRepositoryReleaseDownloadStrategy
sha256 "f19f87322e114a74ef8d90d330bb66685c46ded2a0b18b1fe790e3cff227611a"
def install
bin.install "k8sconfig"
end
end
if Hardware::CPU.arm?
url "https://github.com/envoy/k8sconfig/releases/download/v0.19.1/k8sconfig_Darwin_arm64.tar.gz", using: GitHubPrivateRepositoryReleaseDownloadStrategy
sha256 "7619d4c2a4a0b322d893b782e4ecf2d7e8a945da3e2fbf9357b25f1b83e0deef"
def install
bin.install "k8sconfig"
end
end
end
on_linux do
if Hardware::CPU.intel?
if Hardware::CPU.is_64_bit?
url "https://github.com/envoy/k8sconfig/releases/download/v0.19.1/k8sconfig_Linux_x86_64.tar.gz", using: GitHubPrivateRepositoryReleaseDownloadStrategy
sha256 "470eb0d67b312f228c67fc96ce34ad6010e72c4ef57bd37095164898472f01e7"
def install
bin.install "k8sconfig"
end
end
end
if Hardware::CPU.arm?
if Hardware::CPU.is_64_bit?
url "https://github.com/envoy/k8sconfig/releases/download/v0.19.1/k8sconfig_Linux_arm64.tar.gz", using: GitHubPrivateRepositoryReleaseDownloadStrategy
sha256 "40d688ae4669ee265f7b396e80cb31c4a81113c1bf9b67301babbffae0e03d4c"
def install
bin.install "k8sconfig"
end
end
end
end
end