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:
parent
ee58128ba3
commit
96455023a3
@ -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')
|
||||
|
Loading…
Reference in New Issue
Block a user