kpcyrd pushed to branch main at Arch Linux / Packaging / Packages / helm


Commits:
2039f565 by kpcyrd at 2024-09-10T13:33:11+02:00
upgpkg: 3.15.4-2 - align embedded version with upstream binary

- - - - -


2 changed files:

- .SRCINFO
- PKGBUILD


Changes:

=====================================
.SRCINFO
=====================================
@@ -1,7 +1,7 @@
 pkgbase = helm
        pkgdesc = The Kubernetes Package Manager
        pkgver = 3.15.4
-       pkgrel = 1
+       pkgrel = 2
        url = https://github.com/helm/helm
        arch = x86_64
        license = Apache-2.0


=====================================
PKGBUILD
=====================================
@@ -7,7 +7,7 @@
 
 pkgname=helm
 pkgver=3.15.4
-pkgrel=1
+pkgrel=2
 pkgdesc="The Kubernetes Package Manager"
 arch=("x86_64")
 url="https://github.com/helm/helm";
@@ -43,7 +43,7 @@ build() {
   local ld_flags=" \
     -compressdwarf=false \
     -linkmode=external \
-    -X helm.sh/helm/v3/internal/version.version=$pkgver \
+    -X helm.sh/helm/v3/internal/version.version=v$pkgver \
     -X helm.sh/helm/v3/internal/version.gitCommit=$(git rev-parse HEAD) \
   "
   go build -v -ldflags="$ld_flags" ./cmd/helm
@@ -52,7 +52,7 @@ build() {
 check() {
   cd $pkgname
   # Test that the exectuble reports the correct version.
-  test "$(./helm version --template '{{.Version}}')" = "$pkgver"
+  test "$(./helm version --template '{{.Version}}')" = "v$pkgver"
 
   local unit_tests=$(go list ./... | grep -v helm.sh/helm/v3/pkg/registry)
   # shellcheck disable=2086



View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/helm/-/commit/2039f56555f63891d5e9fb148bf249b24a8599a4

-- 
View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/helm/-/commit/2039f56555f63891d5e9fb148bf249b24a8599a4
You're receiving this email because of your account on gitlab.archlinux.org.


Reply via email to