diff --git a/Makefile b/Makefile index 7b8d9a1..afdd48d 100644 --- a/Makefile +++ b/Makefile @@ -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