FS#74361 - [tekton-cli] tektoncd-cli doesn't set version
Attached to Project:
Community Packages
Opened by Chmouel B (chmouel) - Tuesday, 05 April 2022, 15:59 GMT
Last edited by Robin Candau (Antiz) - Tuesday, 05 September 2023, 00:20 GMT
Opened by Chmouel B (chmouel) - Tuesday, 05 April 2022, 15:59 GMT
Last edited by Robin Candau (Antiz) - Tuesday, 05 September 2023, 00:20 GMT
|
Details
Description:
Additional info: * package version(s)0.22.0 * config and/or log files etc. * link to upstream bug report, if any Steps to reproduce: tkn version output dev The way to fix it is to set the pkgver via the ldflags i.e: go build -ldflags="-linkmode=external" -X "github.com/tektoncd/cli/pkg/cmd/version.clientVersion=${pkgver}" . (as done upstream https://github.com/tektoncd/cli/blob/main/Makefile#L16) |
This task depends upon
Closed by Robin Candau (Antiz)
Tuesday, 05 September 2023, 00:20 GMT
Reason for closing: Fixed
Additional comments about closing: Fixed in 0.31.2-2: https://gitlab.archlinux.org/archlinux/p ackaging/packages/tekton-cli/-/commit/c1 effd373eff300e77293abb4f0d02103021f4b4
Tuesday, 05 September 2023, 00:20 GMT
Reason for closing: Fixed
Additional comments about closing: Fixed in 0.31.2-2: https://gitlab.archlinux.org/archlinux/p ackaging/packages/tekton-cli/-/commit/c1 effd373eff300e77293abb4f0d02103021f4b4