From 9c0cbd7a664c849f121a85a229b6cb5670b99490 Mon Sep 17 00:00:00 2001 From: qingliu Date: Thu, 21 Aug 2025 11:11:59 +0800 Subject: [PATCH] chore: update ldflags to use correct version path Update goreleaser configuration to use the correct version path for CLI binary. --- .goreleaser-alauda.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.goreleaser-alauda.yml b/.goreleaser-alauda.yml index 013d3f9af9..5f6c88725c 100644 --- a/.goreleaser-alauda.yml +++ b/.goreleaser-alauda.yml @@ -27,7 +27,7 @@ builds: flags: - -trimpath ldflags: - - -w -s -X knative.dev/pkg/changeset.rev={{.Version}} + - -w -s -X github.com/tektoncd/cli/pkg/cmd/version.clientVersion={{.Version}} main: ./cmd/tkn binary: alauda-tkn @@ -57,6 +57,6 @@ release: --- - This release is intended for use only as part of the Alauda product suite. - It is not recommended for use by individuals or teams outside of Alauda. + This release is intended for use only as part of the Alauda product suite. + It is not recommended for use by individuals or teams outside of Alauda. Any consequences arising from its use are the sole responsibility of the user.