[postgis-tickets] r16467 - Fix sed replace call echo out svn number
Regina Obe
lr at pcorp.us
Sat Mar 17 07:50:10 PDT 2018
Author: robe
Date: 2018-03-17 19:50:10 -0700 (Sat, 17 Mar 2018)
New Revision: 16467
Modified:
trunk/ci/debbie/postgis_release_docs.sh
Log:
Fix sed replace call echo out svn number
References #4047
Modified: trunk/ci/debbie/postgis_release_docs.sh
===================================================================
--- trunk/ci/debbie/postgis_release_docs.sh 2018-03-18 02:36:47 UTC (rev 16466)
+++ trunk/ci/debbie/postgis_release_docs.sh 2018-03-18 02:50:10 UTC (rev 16467)
@@ -37,6 +37,8 @@
--with-geosconfig=${PROJECTS}/geos/rel-${GEOS_VER}w${OS_BUILD}/bin/geos-config \
--without-raster
make clean
+export VREV=`cat postgis_svn_revision.h | awk '{print $3}'`
+echo "SVN is ${VREV}"
cd doc
@@ -48,8 +50,6 @@
if [[ "$POSTGIS_MICRO_VERSION" == *"dev"* ]]; then
mv postgis.xml postgis.xml.orig
export GIT_TIMESTAMP=`git log -1 --pretty=format:%ct`
- #export VREV=`cat ./postgis_svn_revision.h | awk '{print $3}'`
- export VREV= '?'
sed -e "s:</title>:</title><subtitle><subscript>REV: ${VREV} DEV TIMESTAMP (<emphasis>${GIT_TIMESTAMP}</emphasis>)</subscript></subtitle>:" postgis.xml.orig > postgis.xml
fi
@@ -60,8 +60,8 @@
make epub
make -e chunked-html 2>&1 | tee -a doc-errors.log
-if [[ "$reference" == *"trunk"* ]]; then #only do this for trunk because only trunk follows transifex
- make update-po
+#if [[ "$reference" == *"trunk"* ]]; then #only do this for trunk because only trunk follows transifex
+ #make update-po
# make -C po/it_IT/ local-html
# make -C po/pt_BR/ local-html
# make -C po/ja/ local-html
@@ -69,7 +69,7 @@
# make -C po/pt_BR/ local-html
# make -C po/ko_KR/ local-html
#make pdf-localized
-fi
+#fi
package="doc-html-${POSTGIS_MAJOR_VERSION}.${POSTGIS_MINOR_VERSION}.${POSTGIS_MICRO_VERSION}.tar.gz"
More information about the postgis-tickets
mailing list