We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 309e544 commit 0cce957Copy full SHA for 0cce957
Makefile
@@ -8,7 +8,7 @@ PKG:= github.com/databus23/helm-diff
8
9
# Clear the "unreleased" string in BuildMetadata
10
LDFLAGS += -X $(PKG)/vendor/k8s.io/helm/pkg/version.BuildMetadata=
11
-LDFLAGS += -X $(PKG)/vendor/k8s.io/helm/pkg/version.Version=$(shell grep -A1 "package: k8s.io/helm" glide.yaml | sed -n -e 's/[ ]*version: ^\(.*\)/\1/p' )
+LDFLAGS += -X $(PKG)/vendor/k8s.io/helm/pkg/version.Version=$(shell grep -A1 "package: k8s.io/helm" glide.yaml | sed -n -e 's/[ ]*version:.*\(v[.0-9]*\).*/\1/p')
12
13
.PHONY: install
14
install: bootstrap build
0 commit comments