Skip to content

Commit

Permalink
kubernetes-cli: head uses go@1.17
Browse files Browse the repository at this point in the history
  • Loading branch information
cglong committed Nov 28, 2021
1 parent 53dc61c commit f9a81de
Showing 1 changed file with 13 additions and 5 deletions.
18 changes: 13 additions & 5 deletions Formula/kubernetes-cli.rb
Original file line number Diff line number Diff line change
@@ -1,11 +1,14 @@
class KubernetesCli < Formula
desc "Kubernetes command-line interface"
homepage "https://kubernetes.io/"
url "https://github.com/kubernetes/kubernetes.git",
tag: "v1.22.4",
revision: "b695d79d4f967c403a96986f1750a35eb75e75f1"
license "Apache-2.0"
head "https://github.com/kubernetes/kubernetes.git"

stable do
url "https://github.com/kubernetes/kubernetes.git",
tag: "v1.22.4",
revision: "b695d79d4f967c403a96986f1750a35eb75e75f1"
depends_on "go@1.16" => :build
end

livecheck do
url :stable
Expand All @@ -21,9 +24,14 @@ class KubernetesCli < Formula
sha256 cellar: :any_skip_relocation, x86_64_linux: "31dcccdfcba0ee62d713610c1302130f4cc1fb4fe581730f8766aaeddf152e7a"
end

# HEAD builds with Go 1.17. Consolidate once v1.23 is released
head do
url "https://github.com/kubernetes/kubernetes.git"
depends_on "go" => :build
end

depends_on "bash" => :build
depends_on "coreutils" => :build
depends_on "go@1.16" => :build

uses_from_macos "rsync" => :build

Expand Down

0 comments on commit f9a81de

Please sign in to comment.