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.
All checks were successful
Build Tilde Friends / Build-All (push) Successful in 6m51s

This commit is contained in:
Cory McWilliams 2024-08-04 12:54:02 -04:00
parent b0332f923e
commit f0ea38fe49

View File

@ -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