1
0
Fork 0
mirror of https://github.com/pygos/build.git synced 2024-11-22 19:19:46 +01:00

Set SOURCE_DATE_EPOCH from last commit timestamp

Signed-off-by: David Oberhollenzer <goliath@infraroot.at>
This commit is contained in:
David Oberhollenzer 2019-08-02 11:57:32 +02:00
parent 055642ff26
commit d1c688328e

1
mk.sh
View file

@ -40,6 +40,7 @@ mkdir -p "$REPODIR"
pushd "$SCRIPTDIR" > /dev/null pushd "$SCRIPTDIR" > /dev/null
OS_NAME="Pygos" OS_NAME="Pygos"
OS_RELEASE=$(git describe --always --tags --dirty) OS_RELEASE=$(git describe --always --tags --dirty)
export SOURCE_DATE_EPOCH=$(git show -s --format=%ct)
popd > /dev/null popd > /dev/null
############################# include utilities ############################## ############################# include utilities ##############################