mirror of
https://github.com/kubernetes-sigs/node-feature-discovery.git
synced 2024-12-14 11:57:51 +00:00
Merge pull request #1981 from marquiz/devel/fix-version-parsing-2
Makefile: fix version parsing
This commit is contained in:
commit
68e1108874
1 changed files with 1 additions and 1 deletions
2
Makefile
2
Makefile
|
@ -29,7 +29,7 @@ SITE_BASEURL ?=
|
||||||
SITE_DESTDIR ?= _site
|
SITE_DESTDIR ?= _site
|
||||||
JEKYLL_OPTS := -d '$(SITE_DESTDIR)' $(if $(SITE_BASEURL),-b '$(SITE_BASEURL)',)
|
JEKYLL_OPTS := -d '$(SITE_DESTDIR)' $(if $(SITE_BASEURL),-b '$(SITE_BASEURL)',)
|
||||||
|
|
||||||
VERSION := $(shell git describe --tags --dirty --always)
|
VERSION := $(shell git describe --tags --dirty --always --match "v*")
|
||||||
|
|
||||||
IMAGE_REGISTRY ?= registry.k8s.io/nfd
|
IMAGE_REGISTRY ?= registry.k8s.io/nfd
|
||||||
IMAGE_TAG_NAME ?= $(VERSION)
|
IMAGE_TAG_NAME ?= $(VERSION)
|
||||||
|
|
Loading…
Reference in a new issue