[postgis-tickets] [SCM] PostGIS branch master updated. 3.3.0rc2-1128-g9c50cb9cd
git at osgeo.org
git at osgeo.org
Wed Jul 5 05:05:55 PDT 2023
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "PostGIS".
The branch, master has been updated
via 9c50cb9cda0886e545b193e823c7996aba3a6bd9 (commit)
from da851908cb85ff87852aab9e2c4760b2e2f04086 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit 9c50cb9cda0886e545b193e823c7996aba3a6bd9
Author: Sandro Santilli <strk at kbt.io>
Date: Wed Jul 5 14:04:17 2023 +0200
Fix assumping in debbie's release_docs script, and add some questions
References #5429
diff --git a/ci/debbie/postgis_release_docs.sh b/ci/debbie/postgis_release_docs.sh
index 40598590c..e28dc9e95 100644
--- a/ci/debbie/postgis_release_docs.sh
+++ b/ci/debbie/postgis_release_docs.sh
@@ -69,29 +69,36 @@ fi
make pdf
make epub
-make -e chunked-html-web 2>&1 | tee -a doc-errors.log
+make -e chunked-html-web # TODO: do we really want this too in the doc-html-*.tar.gz package ?
-make html-localized
+make html-localized # TODO: do we really want this too in the doc-html-*.tar.gz package ?
package="doc-html-${POSTGIS_MAJOR_VERSION}.${POSTGIS_MINOR_VERSION}.${POSTGIS_MICRO_VERSION}.tar.gz"
-
export outdir=html
tar -czf "$package" --exclude='.svn' --exclude='.git' --exclude='image_src' "$outdir"
-
cp postgis.xml.orig postgis.xml
+
+# TODO: Replace all of this by `make html-install` and friends
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}
cp -R html/images/* /var/www/postgis_docs/manual-${POSTGIS_MAJOR_VERSION}.${POSTGIS_MINOR_VERSION}/images
+
chmod -R 755 /var/www/postgis_docs/manual-${POSTGIS_MAJOR_VERSION}.${POSTGIS_MINOR_VERSION}
+
+
+# TODO: Replace all of this by `make *-install`
cp -R *.pdf /var/www/postgis_stuff/
cp -R *.epub /var/www/postgis_stuff/
+
cp -R $package /var/www/postgis_stuff/
-if [[ "$POSTGIS_MICRO_VERSION" == *"dev"* ]]; then #rename the files without the micro if it's a development branch
- mv /var/www/postgis_stuff/doc-html-${POSTGIS_MAJOR_VERSION}.${POSTGIS_MINOR_VERSION}.${POSTGIS_MICRO_VERSION}.tar.gz /var/www/postgis_stuff/doc-html-${POSTGIS_MAJOR_VERSION}.${POSTGIS_MINOR_VERSION}.tar.gz
- mv /var/www/postgis_stuff/postgis-${POSTGIS_MAJOR_VERSION}.${POSTGIS_MINOR_VERSION}.${POSTGIS_MICRO_VERSION}.pdf /var/www/postgis_stuff/postgis-${POSTGIS_MAJOR_VERSION}.${POSTGIS_MINOR_VERSION}.pdf
- mv /var/www/postgis_stuff/postgis-${POSTGIS_MAJOR_VERSION}.${POSTGIS_MINOR_VERSION}.${POSTGIS_MICRO_VERSION}.epub /var/www/postgis_stuff/postgis-${POSTGIS_MAJOR_VERSION}.${POSTGIS_MINOR_VERSION}.epub
+#rename the files without the micro if it's a development branch
+if [[ "$POSTGIS_MICRO_VERSION" == *"dev"* ]]; then
+ for f in ${WEB_DIR}/*${POSTGIS_MICRO_VERSION}; do
+ newname=$(echo "$f" | sed "s/${POSTGIS_MICRO_VERSION}//");
+ mv -vi $f $newname
+ done
fi
-----------------------------------------------------------------------
Summary of changes:
ci/debbie/postgis_release_docs.sh | 23 +++++++++++++++--------
1 file changed, 15 insertions(+), 8 deletions(-)
hooks/post-receive
--
PostGIS
More information about the postgis-tickets
mailing list