Skip to content

Commit

Permalink
Brew formula update for kubectl-ephemeral version v0.1.0
Browse files Browse the repository at this point in the history
Closes #13.

Signed-off-by: Marvin Beckers <mail@embik.me>
Signed-off-by: Marvin Beckers <10295525+embik@users.noreply.github.com>
  • Loading branch information
embik committed May 16, 2024
1 parent 2dcd7c3 commit 31ed621
Showing 1 changed file with 54 additions and 0 deletions.
54 changes: 54 additions & 0 deletions Formula/kubectl-ephemeral.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
# typed: false
# frozen_string_literal: true

# This file was generated by GoReleaser. DO NOT EDIT.
class KubectlEphemeral < Formula
desc "Plugin for kubectl to create ephemeral containers from a YAML file"
homepage "https://github.com/embik/kubectl-ephemeral"
version "0.1.0"
license "Apache-2.0"

depends_on "kubectl"

on_macos do
on_intel do
url "https://github.com/embik/kubectl-ephemeral/releases/download/v0.1.0/kubectl-ephemeral_darwin_amd64.tar.gz"
sha256 "6c2f5abbc5c8850b1ce602966ad774d869f1a18798c53f891ab5b5af767ed834"

def install
bin.install "kubectl-ephemeral"
end
end
on_arm do
url "https://github.com/embik/kubectl-ephemeral/releases/download/v0.1.0/kubectl-ephemeral_darwin_arm64.tar.gz"
sha256 "5d2663d0a452980cb146d2db5f2c120e37891ef3222dbf967974fbfbb8e13439"

def install
bin.install "kubectl-ephemeral"
end
end
end

on_linux do
on_intel do
if Hardware::CPU.is_64_bit?
url "https://github.com/embik/kubectl-ephemeral/releases/download/v0.1.0/kubectl-ephemeral_linux_amd64.tar.gz"
sha256 "818cb2ed12575a3f647d961615063c2cd134a9407ac998a2d1cb3b6d1f1eb4a5"

def install
bin.install "kubectl-ephemeral"
end
end
end
on_arm do
if Hardware::CPU.is_64_bit?
url "https://github.com/embik/kubectl-ephemeral/releases/download/v0.1.0/kubectl-ephemeral_linux_arm64.tar.gz"
sha256 "ab7229884e47dccfc146b5c9708f2bc1e3c6048527c8d91b523d24dd06608118"

def install
bin.install "kubectl-ephemeral"
end
end
end
end
end

0 comments on commit 31ed621

Please sign in to comment.