Skip to content

Commit

Permalink
Merge pull request #2 from yermulnik/feature/add_linux_binary
Browse files Browse the repository at this point in the history
Add Linux amd64 binary
  • Loading branch information
c-bata authored Mar 5, 2021
2 parents 9230fdc + 4657dfb commit 79ea9ea
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions kube-prompt.rb
Original file line number Diff line number Diff line change
@@ -1,9 +1,16 @@
class KubePrompt < Formula
desc "An interactive kubernetes client featuring auto-complete using go-prompt."
homepage "https://github.com/c-bata/kube-prompt"
url "https://github.com/c-bata/kube-prompt/releases/download/v1.0.11/kube-prompt_v1.0.11_darwin_amd64.zip"
sha256 "2e3a2842c93a1755e36c33be683972b08a50f4a372fbe191502b7fd0feb43345"
version "1.0.11"
bottle :unneeded

if OS.mac?
url "https://github.com/c-bata/kube-prompt/releases/download/v1.0.11/kube-prompt_v1.0.11_darwin_amd64.zip"
sha256 "2e3a2842c93a1755e36c33be683972b08a50f4a372fbe191502b7fd0feb43345"
elsif OS.linux? && Hardware::CPU.intel?
url "https://github.com/c-bata/kube-prompt/releases/download/v1.0.11/kube-prompt_v1.0.11_linux_amd64.zip"
sha256 "509478946db6cf038ab389583b60189ab122fa41837c41a0a77ece529174581a"
end

def install
bin.install "kube-prompt"
Expand Down

0 comments on commit 79ea9ea

Please sign in to comment.