Skip to content

Commit 0cce957

Browse files
committed
Relex version regex in Makefile
1 parent 309e544 commit 0cce957

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ PKG:= github.com/databus23/helm-diff
88

99
# Clear the "unreleased" string in BuildMetadata
1010
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' )
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:.*\(v[.0-9]*\).*/\1/p')
1212

1313
.PHONY: install
1414
install: bootstrap build

0 commit comments

Comments
 (0)