Skip to content

Commit 43dc024

Browse files
authored
Merge pull request #2855 from Foxboron/morten/reprobuilds
2 parents 62325a6 + 9d40c74 commit 43dc024

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/build/.variables

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ TARGET=${TARGET:-"build"}
66
PLATFORM=${PLATFORM:-}
77
VERSION=${VERSION:-$(git describe --match 'v[0-9]*' --dirty='.m' --always --tags | sed 's/^v//' 2>/dev/null || echo "unknown-version" )}
88
GITCOMMIT=${GITCOMMIT:-$(git rev-parse --short HEAD 2> /dev/null || true)}
9-
BUILDTIME=${BUILDTIME:-$(date -u +"%Y-%m-%dT%H:%M:%SZ")}
9+
BUILDTIME=${BUILDTIME:-$(date -u --date="@${SOURCE_DATE_EPOCH:-$(date +%s)}" +"%Y-%m-%dT%H:%M:%SZ")}
1010

1111
PLATFORM_LDFLAGS=
1212
if test -n "${PLATFORM}"; then

0 commit comments

Comments
 (0)