Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Allow to override build date with SOURCE_DATE_EPOCH (dotnet#46311)
Allow to override build date with `SOURCE_DATE_EPOCH` in order 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 date call works with different variants of the date command. Also use UTC to be independent of timezone. This helps a bit towards deterministic mono builds = issue mono/mono#20172 This PR was done while working on reproducible builds for openSUSE. Co-authored-by: bmwiedemann <[email protected]>
- Loading branch information