From 09214c35502edc2b7832d6a91b78eb1be78c6217 Mon Sep 17 00:00:00 2001 From: Jose Raul Barreras <barreras@unl.edu> Date: Thu, 30 May 2019 16:09:07 -0500 Subject: [PATCH] remove duplicated timestamp --- Makefile | 4 ++-- _README.md | 3 ++- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index 00cd96a..cfd3927 100644 --- a/Makefile +++ b/Makefile @@ -123,9 +123,9 @@ publish: TOOLSET := `echo "$(sort $(IMAGES_TO_PUBLISH))" | sed -e "s/ /\n - /g"))` README_HEAD = `cat ./_README.md | sed -e '/%CONTAINERS_LIST%/Q'` README_TAIL = `cat ./_README.md | sed -e '1,/%CONTAINERS_LIST%/d'` - +README_FOOTER = `echo "\n\r_Last update: \`date\`_\n"` update_readme: - @echo "$(README_HEAD) \n\n - $(TOOLSET) \n$(README_TAIL)" | sed -e "0,/RE/s/%LAST_UPDATE%/\n_Last update: `date`_ \n/" > README.md + @echo "$(README_HEAD) \n\n - $(TOOLSET) \n $(README_TAIL) \n$(README_FOOTER)" > README.md delete_dangling_images: @echo "Removing dangling images" diff --git a/_README.md b/_README.md index 248f07d..63e4b41 100644 --- a/_README.md +++ b/_README.md @@ -13,5 +13,6 @@ This file is automatically updated after execute `git commit` based on the conte %CONTAINERS_LIST% -%LAST_UPDATE% +UNL-ITS-ADS + -- GitLab