From 08e50f01527bc94bb4743972d83d8f1c81a79365 Mon Sep 17 00:00:00 2001 From: Regina Obe Date: Thu, 15 Mar 2018 18:18:23 +0000 Subject: [PATCH] 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 --- ci/debbie/postgis_release_docs.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 -- 2.50.1