[postgis-tickets] r16460 - Revise doc building to include the SVN revision number if we are doing dev release

Regina Obe lr at pcorp.us
Thu Mar 15 11:18:23 PDT 2018


Author: robe
Date: 2018-03-15 11:18:23 -0700 (Thu, 15 Mar 2018)
New Revision: 16460

Modified:
   trunk/ci/debbie/postgis_release_docs.sh
Log:
Revise doc building to include the SVN revision number if we are doing dev release

Modified: trunk/ci/debbie/postgis_release_docs.sh
===================================================================
--- trunk/ci/debbie/postgis_release_docs.sh	2018-03-13 22:48:09 UTC (rev 16459)
+++ trunk/ci/debbie/postgis_release_docs.sh	2018-03-15 18:18:23 UTC (rev 16460)
@@ -47,7 +47,8 @@
 #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:</title>:</title><subtitle><subscript>DEV TIMESTAMP (<emphasis>${GIT_TIMESTAMP}</emphasis>)</subscript></subtitle>:" postgis.xml.orig > postgis.xml
+  export VREV=`cat "$outdir"/postgis_svn_revision.h | awk '{print $3}'`
+  sed -e "s:</title>:</title><subtitle><subscript>REV: $VREV DEV TIMESTAMP (<emphasis>${GIT_TIMESTAMP}</emphasis>)</subscript></subtitle>:" postgis.xml.orig > postgis.xml
 fi
 
 make pdf



More information about the postgis-tickets mailing list