Skip to content
Snippets Groups Projects
Unverified Commit 2039f565 authored by kpcyrd's avatar kpcyrd
Browse files

upgpkg: 3.15.4-2 - align embedded version with upstream binary

parent f5696e6a
No related branches found
Tags 3.15.4-2
No related merge requests found
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
......
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment