Skip to content

Commit

Permalink
Brew formula update for kubectl-ai version v0.0.13 (#173)
Browse files Browse the repository at this point in the history
Co-authored-by: Sertac Ozercan <[email protected]>
  • Loading branch information
github-actions[bot] and sozercan authored Aug 5, 2024
1 parent e981c64 commit 39e18e0
Showing 1 changed file with 23 additions and 19 deletions.
42 changes: 23 additions & 19 deletions kubectl-ai.rb
Original file line number Diff line number Diff line change
Expand Up @@ -5,20 +5,20 @@
class KubectlAi < Formula
desc "kubectl-ai is a kubectl plugin to generate and apply Kubernetes manifests using OpenAI GPT."
homepage ""
version "0.0.12"
version "0.0.13"

on_macos do
if Hardware::CPU.arm?
url "https://github.com/sozercan/kubectl-ai/releases/download/v0.0.12/kubectl-ai_darwin_arm64.tar.gz"
sha256 "4adc6afb513bb3849e30d2900d5eda513c144973eec48a4ac6ee3e5d8293769f"
on_intel do
url "https://github.com/sozercan/kubectl-ai/releases/download/v0.0.13/kubectl-ai_darwin_amd64.tar.gz"
sha256 "5689ae11cef589b466b9877e53d8668b8290842f498c8a4db83523563de12b9e"

def install
bin.install "kubectl-ai"
end
end
if Hardware::CPU.intel?
url "https://github.com/sozercan/kubectl-ai/releases/download/v0.0.12/kubectl-ai_darwin_amd64.tar.gz"
sha256 "d2efe829420487d4772adda8319ae74111cf2d6b40cd52ffe873ec4011544d32"
on_arm do
url "https://github.com/sozercan/kubectl-ai/releases/download/v0.0.13/kubectl-ai_darwin_arm64.tar.gz"
sha256 "2761f0bedfcd74781156f462409ac0fb9594af3d8077ce9934ccbf2620510f37"

def install
bin.install "kubectl-ai"
Expand All @@ -27,20 +27,24 @@ def install
end

on_linux do
if Hardware::CPU.intel?
url "https://github.com/sozercan/kubectl-ai/releases/download/v0.0.12/kubectl-ai_linux_amd64.tar.gz"
sha256 "6f390023a8fe46a5237a15e934be3189230896dff64bc2a49cf4c8f1df59d690"

def install
bin.install "kubectl-ai"
on_intel do
if Hardware::CPU.is_64_bit?
url "https://github.com/sozercan/kubectl-ai/releases/download/v0.0.13/kubectl-ai_linux_amd64.tar.gz"
sha256 "199be125fe3e29caa3eff5e6f81d02cf25fe4d2c7bd16b9bd8c85fed90704bdc"

def install
bin.install "kubectl-ai"
end
end
end
if Hardware::CPU.arm? && Hardware::CPU.is_64_bit?
url "https://github.com/sozercan/kubectl-ai/releases/download/v0.0.12/kubectl-ai_linux_arm64.tar.gz"
sha256 "2a8897c4b0fca40a1e980abf489713de024ae80a93c247afd39697c5b42edf59"

def install
bin.install "kubectl-ai"
on_arm do
if Hardware::CPU.is_64_bit?
url "https://github.com/sozercan/kubectl-ai/releases/download/v0.0.13/kubectl-ai_linux_arm64.tar.gz"
sha256 "ecd0f2feeac8ec417e1e6632de42d53cc8445416052033cf72b818d646b26279"

def install
bin.install "kubectl-ai"
end
end
end
end
Expand Down

0 comments on commit 39e18e0

Please sign in to comment.