1
0
mirror of https://github.com/ko-build/ko.git synced 2024-12-09 08:46:13 +02:00

Fix date command (#75)

This commit is contained in:
jonjohnsonjr 2019-08-16 09:59:27 -07:00 committed by GitHub
parent ee58128ba3
commit 96455023a3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -446,7 +446,7 @@ In order to support [reproducible builds](https://reproducible-builds.org), `ko`
For example, you can set this to the current timestamp by executing:
export SOURCE_DATE_EPOCH=`date +%s
export SOURCE_DATE_EPOCH=$(date +%s)
or to the latest git commit's timestamp with:
export SOURCE_DATE_EPOCH=$(git log -1 --format='%ct')