mirror of
https://github.com/cgrates/cgrates.git
synced 2026-02-11 18:16:24 +05:00
Include time in package version to support multiple releases per day.
This commit is contained in:
committed by
Dan Christian Bogos
parent
2528854332
commit
ab38aba044
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user