mirror of
https://github.com/pygos/build.git
synced 2024-11-22 11:09:46 +01:00
Set SOURCE_DATE_EPOCH from last commit timestamp
Signed-off-by: David Oberhollenzer <goliath@infraroot.at>
This commit is contained in:
parent
055642ff26
commit
d1c688328e
1 changed files with 1 additions and 0 deletions
1
mk.sh
1
mk.sh
|
@ -40,6 +40,7 @@ mkdir -p "$REPODIR"
|
|||
pushd "$SCRIPTDIR" > /dev/null
|
||||
OS_NAME="Pygos"
|
||||
OS_RELEASE=$(git describe --always --tags --dirty)
|
||||
export SOURCE_DATE_EPOCH=$(git show -s --format=%ct)
|
||||
popd > /dev/null
|
||||
|
||||
############################# include utilities ##############################
|
||||
|
|
Loading…
Reference in a new issue