Skip to content

Commit

Permalink
Relex version regex in Makefile
Browse files Browse the repository at this point in the history
  • Loading branch information
databus23 committed Jul 13, 2017
1 parent 309e544 commit 0cce957
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ PKG:= github.com/databus23/helm-diff

# Clear the "unreleased" string in BuildMetadata
LDFLAGS += -X $(PKG)/vendor/k8s.io/helm/pkg/version.BuildMetadata=
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')

.PHONY: install
install: bootstrap build
Expand Down

0 comments on commit 0cce957

Please sign in to comment.