From 938ff375c8b63666319a50b5451ed4891d0be984 Mon Sep 17 00:00:00 2001 From: Jon Johnson Date: Fri, 16 Aug 2019 09:51:23 -0700 Subject: [PATCH] Fix README formatting Apparently those newlines are important. --- README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.md b/README.md index 2f0ccadec0..f6b7226c33 100644 --- a/README.md +++ b/README.md @@ -445,8 +445,10 @@ kubectl apply -f release.yaml In order to support [reproducible builds](https://reproducible-builds.org), `ko` doesn't embed timestamps in the images it produces by default; however, `ko` does respect the [`SOURCE_DATE_EPOCH`](https://reproducible-builds.org/docs/source-date-epoch/) environment variable. For example, you can set this to the current timestamp by executing: + export SOURCE_DATE_EPOCH=`date +%s or to the latest git commit's timestamp with: + export SOURCE_DATE_EPOCH=$(git log -1 --format='%ct') ## Acknowledgements