forked from cory/tildefriends
Just set SOURCE_DATE_EPOCH=1. Using the last commit time is complicated (have to rebuild OpenSSL every commit/release). This only affects a debug string that we don't expose.
This commit is contained in:
parent
b0332f923e
commit
f0ea38fe49
@ -21,14 +21,8 @@ BUNDLETOOL = out/bundletool.jar
|
||||
|
||||
HAVE_WIN := 0
|
||||
|
||||
ifeq ($(shell test -d .git && which git > /dev/null && echo 1),1)
|
||||
export SOURCE_DATE_EPOCH=$(shell git log -1 --pretty=%ct)
|
||||
export TZ=UTC
|
||||
else
|
||||
export SOURCE_DATE_EPOCH=1
|
||||
export TZ=UTC
|
||||
endif
|
||||
$(info SOURCE_DATE_EPOCH=$(SOURCE_DATE_EPOCH))
|
||||
|
||||
ifeq ($(UNAME_S),Darwin)
|
||||
BUILD_TYPES := macosdebug macosrelease iosdebug iosrelease iossimdebug iossimrelease
|
||||
|
Loading…
Reference in New Issue
Block a user