From: Regina Obe Date: Thu, 15 Mar 2018 18:18:23 +0000 (+0000) Subject: Revise doc building to include the SVN revision number if we are doing dev release X-Git-Tag: 2.5.0alpha~67 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=08e50f01527bc94bb4743972d83d8f1c81a79365;p=postgis Revise doc building to include the SVN revision number if we are doing dev release git-svn-id: http://svn.osgeo.org/postgis/trunk@16460 b70326c6-7e19-0410-871a-916f4a2858ee --- diff --git a/ci/debbie/postgis_release_docs.sh b/ci/debbie/postgis_release_docs.sh index 9a8cc77d2..94689df9d 100644 --- a/ci/debbie/postgis_release_docs.sh +++ b/ci/debbie/postgis_release_docs.sh @@ -47,7 +47,8 @@ echo "Micro: $POSTGIS_MICRO_VERSION" #inject a development time stamp if we are in development branch if [[ "$POSTGIS_MICRO_VERSION" == *"dev"* ]]; then export GIT_TIMESTAMP=`git log -1 --pretty=format:%ct` - sed -e "s::DEV TIMESTAMP (${GIT_TIMESTAMP}):" postgis.xml.orig > postgis.xml + export VREV=`cat "$outdir"/postgis_svn_revision.h | awk '{print $3}'` + sed -e "s::REV: $VREV DEV TIMESTAMP (${GIT_TIMESTAMP}):" postgis.xml.orig > postgis.xml fi make pdf