diff --git a/publish.sh b/publish.sh index a0ca36f90b06c99bd82efe228dc994d144305e0e..965645aeab66a6f9ec17d3b1ddf3e6d183aa9e31 100755 --- a/publish.sh +++ b/publish.sh @@ -36,6 +36,7 @@ cp -r site/{img,styles,docs,read} public/. # footer date realdate=$(grep -P 'Last updated on ' site/en.html | grep -Po '[0-9: -]+ UTC') +echo "$realdate\n" >> site/log.txt #2021-09-27 09:37:07 UTC perl -p -i -e "s/Last updated on /Last updated on $realdate/" site/read/en.html perl -p -i -e "s/Last updated on /Mis à jour le $realdate/" site/read/index.html