forked from public/airgap
re-embed git date for useful embed time
This commit is contained in:
parent
0b850c529c
commit
7032870363
5
Makefile
5
Makefile
|
@ -5,8 +5,9 @@ DEVICES := librem_13v4 librem_15v4
|
||||||
GIT_REF := $(shell git log -1 --format=%H config)
|
GIT_REF := $(shell git log -1 --format=%H config)
|
||||||
GIT_AUTHOR := $(shell git log -1 --format=%an config)
|
GIT_AUTHOR := $(shell git log -1 --format=%an config)
|
||||||
GIT_KEY := $(shell git log -1 --format=%GP config)
|
GIT_KEY := $(shell git log -1 --format=%GP config)
|
||||||
GIT_EPOCH := 0
|
GIT_EPOCH := $(shell git log -1 --format=%at config)
|
||||||
GIT_DATETIME := 1970-01-01 00:00:00
|
GIT_DATETIME := \
|
||||||
|
$(shell git log -1 --format=%cd --date=format:'%Y-%m-%d %H:%M:%S' config)
|
||||||
VERSION := "develop"
|
VERSION := "develop"
|
||||||
RELEASE_DIR := release/$(VERSION)
|
RELEASE_DIR := release/$(VERSION)
|
||||||
ifeq ($(strip $(shell git status --porcelain 2>/dev/null)),)
|
ifeq ($(strip $(shell git status --porcelain 2>/dev/null)),)
|
||||||
|
|
Loading…
Reference in New Issue