Allow to override build date with SOURCE_DATE_EPOCH by bmwiedemann · Pull Request #2202 · gitui-org/gitui
It changes the following:
- checks for
SOURCE_DATE_EPOCHenv and uses it asbuild_date
I followed the checklist:
- I added unittests
- I ran
make checkwithout errors - I tested the overall application
- I added an appropriate item to the changelog
Allow to override build date with SOURCE_DATE_EPOCH
to make builds reproducible.
See https://reproducible-builds.org/ for why this is good
and https://reproducible-builds.org/specs/source-date-epoch/
for the definition of this variable.
This patch was done while working on reproducible builds for openSUSE.