kubeless 0.3.3
Closes #22424. Signed-off-by: ilovezfs <ilovezfs@icloud.com>
This commit is contained in:
parent
dba5cf55bd
commit
dd8a56584c
1 changed files with 4 additions and 4 deletions
|
@ -2,8 +2,8 @@ class Kubeless < Formula
|
||||||
desc "Kubernetes Native Serverless Framework"
|
desc "Kubernetes Native Serverless Framework"
|
||||||
homepage "https://github.com/kubeless/kubeless"
|
homepage "https://github.com/kubeless/kubeless"
|
||||||
url "https://github.com/kubeless/kubeless.git",
|
url "https://github.com/kubeless/kubeless.git",
|
||||||
:tag => "v0.3.2",
|
:tag => "v0.3.3",
|
||||||
:revision => "fef344fc1f9f0233bb6585953f802bfe906e51cd"
|
:revision => "2820d21c008b7d550f34baddbcf118850ca5b487"
|
||||||
|
|
||||||
bottle do
|
bottle do
|
||||||
cellar :any_skip_relocation
|
cellar :any_skip_relocation
|
||||||
|
@ -21,8 +21,8 @@ class Kubeless < Formula
|
||||||
(buildpath/"src/github.com/kubeless/kubeless").install buildpath.children
|
(buildpath/"src/github.com/kubeless/kubeless").install buildpath.children
|
||||||
cd "src/github.com/kubeless/kubeless" do
|
cd "src/github.com/kubeless/kubeless" do
|
||||||
ldflags = %W[
|
ldflags = %W[
|
||||||
-w -X github.com/kubeless/kubeless/version.VERSION=v#{version}
|
-w -X github.com/kubeless/kubeless/cmd/kubeless/version.VERSION=v#{version}
|
||||||
-X github.com/kubeless/kubeless/version.GITCOMMIT=#{commit}
|
-X github.com/kubeless/kubeless/cmd/kubeless/version.GITCOMMIT=#{commit}
|
||||||
]
|
]
|
||||||
system "go", "build", "-o", bin/"kubeless", "-ldflags", ldflags.join(" "),
|
system "go", "build", "-o", bin/"kubeless", "-ldflags", ldflags.join(" "),
|
||||||
"./cmd/kubeless"
|
"./cmd/kubeless"
|
||||||
|
|
Loading…
Reference in a new issue