Include time in package version to support multiple releases per day.

This commit is contained in:
Bas Couwenberg
2019-07-18 09:49:16 +02:00
committed by Dan Christian Bogos
parent 2528854332
commit ab38aba044

View File

@@ -1,7 +1,7 @@
DISTRIBUTION ?= jessie
GIT_COMMIT=$(shell git log -n1 --format=format:%h)
GIT_DATE=$(shell date +%Y%m%d --date="@$(shell git log -n1 --format=format:%ct)")
GIT_DATE=$(shell date +%Y%m%d%H%M%S --date="@$(shell git log -n1 --format=format:%ct)")
ifeq ($(GIT_COMMIT),)
echo "Error: Failed to extract commit from git log"