fix(Makefile): change semver pattern
This commit is contained in:
parent
111dc0e4f1
commit
f0bba4a202
2
Makefile
2
Makefile
@ -1,7 +1,7 @@
|
|||||||
# VERSION/RELEASE
|
# VERSION/RELEASE
|
||||||
# If no version is specified as a parameter of make, the last git hash
|
# If no version is specified as a parameter of make, the last git hash
|
||||||
# value is taken.
|
# 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
|
RELEASE?=1
|
||||||
|
|
||||||
# CONTAINER_IMAGE_VERSION
|
# CONTAINER_IMAGE_VERSION
|
||||||
|
Loading…
Reference in New Issue
Block a user