forked from kyverno/kyverno-json
-
Notifications
You must be signed in to change notification settings - Fork 0
/
kyverno-json.rb
47 lines (40 loc) · 1.44 KB
/
kyverno-json.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 KyvernoJson < Formula
desc "Kyverno for any JSON-compatible payload."
homepage "https://kyverno.github.io/kyverno-json"
version "0.0.2"
on_macos do
if Hardware::CPU.arm?
url "https://github.com/kyverno/kyverno-json/releases/download/v0.0.2/kyverno-json_darwin_arm64.tar.gz"
sha256 "732203f163892f672a095828ec1d8c81875b1848fbae74d39e350cae95b92bc6"
def install
bin.install "kyverno-json"
end
end
if Hardware::CPU.intel?
url "https://github.com/kyverno/kyverno-json/releases/download/v0.0.2/kyverno-json_darwin_amd64.tar.gz"
sha256 "911e7d51f45028c5349c2669d10a503fad1d5f1d1f87edccc9cccbfc2e531835"
def install
bin.install "kyverno-json"
end
end
end
on_linux do
if Hardware::CPU.intel?
url "https://github.com/kyverno/kyverno-json/releases/download/v0.0.2/kyverno-json_linux_amd64.tar.gz"
sha256 "9cb5d41b19024f9a081c74a18d3149d831593bdcb0472f91ef95e1779291a4a2"
def install
bin.install "kyverno-json"
end
end
if Hardware::CPU.arm? && Hardware::CPU.is_64_bit?
url "https://github.com/kyverno/kyverno-json/releases/download/v0.0.2/kyverno-json_linux_arm64.tar.gz"
sha256 "b18f3609385f4b8ffdaf465ed13eff830618bfe763dca2610a11f9904b00499b"
def install
bin.install "kyverno-json"
end
end
end
end