re-embed git date for useful embed time

This commit is contained in:
Lance Vick 2020-12-16 02:02:55 -08:00
parent 0b850c529c
commit 7032870363
Signed by: lrvick
GPG Key ID: 8E47A1EC35A1551D
1 changed files with 3 additions and 2 deletions

View File

@ -5,8 +5,9 @@ DEVICES := librem_13v4 librem_15v4
GIT_REF := $(shell git log -1 --format=%H config)
GIT_AUTHOR := $(shell git log -1 --format=%an config)
GIT_KEY := $(shell git log -1 --format=%GP config)
GIT_EPOCH := 0
GIT_DATETIME := 1970-01-01 00:00:00
GIT_EPOCH := $(shell git log -1 --format=%at config)
GIT_DATETIME := \
$(shell git log -1 --format=%cd --date=format:'%Y-%m-%d %H:%M:%S' config)
VERSION := "develop"
RELEASE_DIR := release/$(VERSION)
ifeq ($(strip $(shell git status --porcelain 2>/dev/null)),)