fluxctl 1.21.2
* fluxctl 1.21.2 * fluxctl: update build step * fix build Closes #71284. Signed-off-by: Rui Chen <rui@chenrui.dev> Co-authored-by: rui <rui@meetup.com> Co-authored-by: Rui Chen <rui@chenrui.dev> Signed-off-by: Sean Molenaar <1484494+SMillerDev@users.noreply.github.com> Signed-off-by: BrewTestBot <1589480+BrewTestBot@users.noreply.github.com>master
parent
6193dd5f51
commit
6deff44bdf
|
@ -2,8 +2,8 @@ class Fluxctl < Formula
|
|||
desc "Command-line tool to access Weave Flux, the Kubernetes GitOps operator"
|
||||
homepage "https://github.com/fluxcd/flux"
|
||||
url "https://github.com/fluxcd/flux.git",
|
||||
tag: "1.21.1",
|
||||
revision: "930a2cc43487033ac70e38f7389a2a573a55fdf5"
|
||||
tag: "1.21.2",
|
||||
revision: "9da931586cc857b2c9204b5f02725211661aa412"
|
||||
license "Apache-2.0"
|
||||
|
||||
livecheck do
|
||||
|
@ -21,9 +21,7 @@ class Fluxctl < Formula
|
|||
depends_on "go" => :build
|
||||
|
||||
def install
|
||||
cd buildpath/"cmd/fluxctl" do
|
||||
system "go", "build", "-ldflags", "-s -w -X main.version=#{version}", "-trimpath", "-o", bin/"fluxctl"
|
||||
end
|
||||
system "go", "build", *std_go_args, "-ldflags", "-s -w -X main.version=#{version}", "./cmd/fluxctl"
|
||||
end
|
||||
|
||||
test do
|
||||
|
|
Loading…
Reference in New Issue