From: Regina Obe Date: Sun, 18 Mar 2018 05:16:18 +0000 (+0000) Subject: variable typo X-Git-Tag: 2.5.0alpha~57 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=3536c14f97ae98966f844a9ce8635dbc066c397e;p=postgis variable typo git-svn-id: http://svn.osgeo.org/postgis/trunk@16471 b70326c6-7e19-0410-871a-916f4a2858ee --- diff --git a/ci/debbie/postgis_release_docs.sh b/ci/debbie/postgis_release_docs.sh index b1a070b9f..c5d31c267 100644 --- a/ci/debbie/postgis_release_docs.sh +++ b/ci/debbie/postgis_release_docs.sh @@ -46,14 +46,14 @@ cd doc #sed -e "s::SVN Revision (${POSTGIS_SVN_REVISION}):" postgis.xml.orig > postgis.xml echo "Micro: $POSTGIS_MICRO_VERSION" +cp postgis.xml postgis.xml.orig #we for dev will inject stuff into file, so backup original #inject a development time stamp if we are in development branch if [[ "$POSTGIS_MICRO_VERSION" == *"dev"* ]]; then - cp postgis.xml postgis.xml.orig export GIT_TIMESTAMP=`git log -1 --pretty=format:%ct` export GIT_TIMESTAMP="`date -d @$GIT_TIMESTAMP`" #convert to UTC date echo "GIT_TIMESTAMP: ${GIT_TIMESTAMP}" export part_old="" - export part_new="DEV ($GIT_TIMESTAMP r$VREV)" + export part_new="DEV ($GIT_TIMESTAMP r${VREV})" sed -i 's,'"$part_old"','"$part_new"',' postgis.xml fi @@ -81,7 +81,7 @@ tar -czf "$package" --exclude='.svn' --exclude='.git' --exclude='image_src' "$ou -#mv postgis.xml.orig postgis.xml +cp postgis.xml.orig postgis.xml mkdir -p /var/www/postgis_docs/manual-${POSTGIS_MAJOR_VERSION}.${POSTGIS_MINOR_VERSION} mkdir -p /var/www/postgis_docs/manual-${POSTGIS_MAJOR_VERSION}.${POSTGIS_MINOR_VERSION}/images cp -R html/*.* /var/www/postgis_docs/manual-${POSTGIS_MAJOR_VERSION}.${POSTGIS_MINOR_VERSION}