diff options
author | Ryota MIBU <r-mibu@cq.jp.nec.com> | 2016-02-15 21:27:40 +0900 |
---|---|---|
committer | Ryota MIBU <r-mibu@cq.jp.nec.com> | 2016-02-15 21:34:27 +0900 |
commit | 569cbcdaabe1508c1e9c10a144091e77425e29d0 (patch) | |
tree | 575c0b2b55c9a186f3923f9007dc4e4e6324709d | |
parent | 0a8bffe0015f8ebef02ee5b819006c0e8fe3b058 (diff) |
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 <r-mibu@cq.jp.nec.com>
-rwxr-xr-x | utils/docs-build.sh | 2 |
1 files changed, 1 insertions, 1 deletions
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' |