mirror of
https://github.com/spf13/cobra
synced 2024-11-24 22:57:12 +00:00
fe5e611709
Previously if a cobra user didn't specify an explicit .Date header, the current time would be included in all of the generated man pages each time they were built. This causes an issue for reproducible builds, since each re-build of a package that includes the man pages will have different times listed in the man pages. To fix this, add support for SOURCE_DATE_EPOCH (which is a standardised packaging environment variable, designed to be used specifically for this purpose[1]). [1]: https://reproducible-builds.org/specs/source-date-epoch/ Signed-off-by: Aleksa Sarai <asarai@suse.de> |
||
---|---|---|
.. | ||
cmd_test.go | ||
man_docs.go | ||
man_docs.md | ||
man_docs_test.go | ||
man_examples_test.go | ||
md_docs.go | ||
md_docs.md | ||
md_docs_test.go | ||
rest_docs.go | ||
rest_docs.md | ||
rest_docs_test.go | ||
util.go | ||
yaml_docs.go | ||
yaml_docs.md | ||
yaml_docs_test.go |