diff --git a/build-subsets.sh b/build-subsets.sh index 819329038..f7bf040b9 100755 --- a/build-subsets.sh +++ b/build-subsets.sh @@ -14,6 +14,9 @@ # # ////////////////////////////////////////////////////////////////////// +# set SOURCE_DATE_EPOCH to git commit date/time for reproducible builds +SOURCE_DATE_EPOCH=$(git show -s --format=%ct HEAD) + # default build tooling definitions TTFAH="$HOME/ttfautohint-build/local/bin/ttfautohint" FONTMAKE="pipenv run fontmake" diff --git a/build-ttf.sh b/build-ttf.sh index 54fe629a0..82011f6a4 100755 --- a/build-ttf.sh +++ b/build-ttf.sh @@ -13,6 +13,9 @@ # # ///////////////////////////////////////////////////////////////// +# set SOURCE_DATE_EPOCH to git commit date/time for reproducible builds +SOURCE_DATE_EPOCH=$(git show -s --format=%ct HEAD) + # default build tooling definitions TTFAH="$HOME/ttfautohint-build/local/bin/ttfautohint" FONTMAKE="pipenv run fontmake" @@ -137,6 +140,7 @@ if ! $FONTMAKE -u "source/Hack-BoldItalic.ufo" -o ttf exit 1 fi + # Desktop ttf font post build fixes # DSIG table fix with adapted fontbakery Python script