From 569cbcdaabe1508c1e9c10a144091e77425e29d0 Mon Sep 17 00:00:00 2001 From: Ryota MIBU Date: Mon, 15 Feb 2016 21:27:40 +0900 Subject: [PATCH 1/1] docs: fix |today| '|today|' in each source files is not replaced since it's put in comment field. This patch fixes this issue by useing 'date' command. Change-Id: Ia7412ebf61463ecd29c976da245fb872d1403189 Signed-off-by: Ryota MIBU --- utils/docs-build.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/utils/docs-build.sh b/utils/docs-build.sh index 3c0e8bd80..4d95836d5 100755 --- a/utils/docs-build.sh +++ b/utils/docs-build.sh @@ -41,7 +41,7 @@ revision="$(git rev-parse --short HEAD)" rev_full="$(git rev-parse HEAD)" version="$(git describe --abbrev=0 2> /dev/null || echo draft) ($revision)" project="$(basename $(git rev-parse --show-toplevel))" -html_notes=" Revision: $rev_full\n Build date: |today|" +html_notes=" Revision: $rev_full\n Build date: $(date -u +'%Y-%m-%d')" default_conf='releng/docs/etc/conf.py' opnfv_logo='releng/docs/etc/opnfv-logo.png' -- 2.16.6