Created
March 16, 2016 12:18
-
-
Save dmerejkowsky/2e00b0d84bacdf173d6f to your computer and use it in GitHub Desktop.
source-date-epoch-from-git
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
export SOURCE_DATE_EPOCH=$(git log -1 --format=%ct) | |
# This sets SOURCE_DATE_EPOCH to the date of the last commit, (it's even better if it's a | |
# signed tag of course), which is perfect for reproducible builds. | |
# See here for more info : https://reproducible-builds.org/ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment