diff options
author | ShubhamRathi <shubhamiiitbackup@gmail.com> | 2017-01-12 19:33:22 +0530 |
---|---|---|
committer | ShubhamRathi <shubhamiiitbackup@gmail.com> | 2017-01-12 19:33:22 +0530 |
commit | fde67edd285057042fc85c2be37fe8603b37ceba (patch) | |
tree | ed3629fa84771382e3d853dc19dfb00f63e58e19 /scripts/docs-build.sh | |
parent | 4da78e041bd7fe00469449199a58f21a60633294 (diff) |
Update build script to newer tag
The build script showed the tag as 'arno.2015.2.0'. The script
has been updated to take the latest tag.
Change-Id: Ifb64128d3c1097ac99130f00313d9eab7e885778
Signed-off-by: ShubhamRathi <shubhamiiitbackup@gmail.com>
Diffstat (limited to 'scripts/docs-build.sh')
-rwxr-xr-x | scripts/docs-build.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/docs-build.sh b/scripts/docs-build.sh index 9c3b49fde..69f962505 100755 --- a/scripts/docs-build.sh +++ b/scripts/docs-build.sh @@ -21,7 +21,7 @@ GERRIT_COMMENT=${GERRIT_COMMENT:-} revision="$(git rev-parse --short HEAD)" rev_full="$(git rev-parse HEAD)" -version="$(git describe --abbrev=0 2> /dev/null || echo draft) ($revision)" +version="$(git tag | tail -1)" project="$(basename $(git rev-parse --show-toplevel))" html_notes=" Revision: $rev_full\n Build date: $(date -u +'%Y-%m-%d')" opnfv_logo="$OPNFVDOCS_DIR/etc/opnfv-logo.png" |