fix(Makefile): change semver pattern

This commit is contained in:
Markus Pesch 2020-01-08 21:54:39 +01:00
parent 111dc0e4f1
commit f0bba4a202
Signed by: volker.raschek
GPG Key ID: 852BCC170D81A982
1 changed files with 1 additions and 1 deletions

View File

@ -1,7 +1,7 @@
# VERSION/RELEASE
# If no version is specified as a parameter of make, the last git hash
# value is taken.
VERSION?=$(shell git describe --long | sed 's/\([^-]*-g\)/r\1/;s/-/./g')
VERSION:=$(shell git describe --abbrev=0)+$(shell date +'%Y%m%d%H%I%S')
RELEASE?=1
# CONTAINER_IMAGE_VERSION