Skip to content

Commit 68e1108

Browse files
authored
Merge pull request #1981 from marquiz/devel/fix-version-parsing-2
Makefile: fix version parsing
2 parents 1ecb1c7 + 55961cc commit 68e1108

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
@@ -29,7 +29,7 @@ SITE_BASEURL ?=
2929
SITE_DESTDIR ?= _site
3030
JEKYLL_OPTS := -d '$(SITE_DESTDIR)' $(if $(SITE_BASEURL),-b '$(SITE_BASEURL)',)
3131

32-
VERSION := $(shell git describe --tags --dirty --always)
32+
VERSION := $(shell git describe --tags --dirty --always --match "v*")
3333

3434
IMAGE_REGISTRY ?= registry.k8s.io/nfd
3535
IMAGE_TAG_NAME ?= $(VERSION)

0 commit comments

Comments
 (0)