Robin Candau pushed to branch main at Arch Linux / Packaging / Packages / tekton-cli
Commits: c1effd37 by Robin Candau at 2023-09-05T02:21:00+02:00 upgpkg: 0.31.2-2: Fix the version output - FS#74361 - - - - - 1 changed file: - PKGBUILD Changes: ===================================== PKGBUILD ===================================== @@ -2,7 +2,7 @@ pkgname=tekton-cli pkgver=0.31.2 -pkgrel=1 +pkgrel=2 pkgdesc="CLI for interacting with the Tekton CI/CD pipeline" arch=('x86_64') url="https://github.com/tektoncd/cli" @@ -26,7 +26,7 @@ build() { export CGO_CXXFLAGS="${CXXFLAGS}" export CGO_LDFLAGS="${LDFLAGS}" export GOFLAGS="-buildmode=pie -trimpath -mod=readonly -modcacherw" - go build -ldflags="-linkmode=external" . + go build -ldflags="-linkmode=external -X github.com/tektoncd/cli/pkg/cmd/version.clientVersion=${pkgver}" . chmod +x ./tkn ./tkn completion bash > "${pkgname}-completion.bash" ./tkn completion zsh > "${pkgname}-completion.zsh" View it on GitLab: https://gitlab.archlinux.org/archlinux/packaging/packages/tekton-cli/-/commit/c1effd373eff300e77293abb4f0d02103021f4b4 -- View it on GitLab: https://gitlab.archlinux.org/archlinux/packaging/packages/tekton-cli/-/commit/c1effd373eff300e77293abb4f0d02103021f4b4 You're receiving this email because of your account on gitlab.archlinux.org.