-
Notifications
You must be signed in to change notification settings - Fork 288
Add environment variable to set timestamp #729
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add environment variable to set timestamp #729
Conversation
In practice SOURCE_DATE_EPOCH specifies the last modification of something, usually the source code, (measured) in seconds since the Unix epoch, which is January 1st 1970, 00:00:00 UTC.
04eea49 to
733c006
Compare
Codecov ReportBase: 95.58% // Head: 95.59% // Increases project coverage by
Additional details and impacted files@@ Coverage Diff @@
## master #729 +/- ##
=======================================
Coverage 95.58% 95.59%
=======================================
Files 28 28
Lines 3847 3855 +8
Branches 672 672
=======================================
+ Hits 3677 3685 +8
Misses 92 92
Partials 78 78
Flags with carried forward coverage won't be shown. Click here to find out more.
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. ☔ View full report at Codecov. |
b3aa795 to
119713c
Compare
Co-authored-by: Lukas Atkinson <[email protected]>
119713c to
8b65607
Compare
18f6da1 to
27cec26
Compare
* Read default from environment variable SOURCE_DATE_EPOCH if defined. In practice SOURCE_DATE_EPOCH specifies the last modification of something, usually the source code, (measured) in seconds since the Unix epoch, which is January 1st 1970, 00:00:00 UTC. Co-authored-by: Lukas Atkinson <[email protected]>
As suggested in #728 this PR changes the default of
--timestampto respect the environment variable SOURCE_DATE_EPOCH.Closes #728