[SCM] PostGIS branch master updated. 3.6.0rc2-64-g0e46c6f1f

git at osgeo.org git at osgeo.org
Tue Sep 30 00:14:37 PDT 2025


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  0e46c6f1f5492e4e164b594172593237cb3565be (commit)
      from  f6ab40874a85b0c7cbaa419a47029b1ea8428f2e (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 0e46c6f1f5492e4e164b594172593237cb3565be
Author: Sandro Santilli <strk at kbt.io>
Date:   Tue Sep 30 09:14:05 2025 +0200

    Add --help (-h) support

diff --git a/utils/check_all_upgrades.sh b/utils/check_all_upgrades.sh
index db3ba0424..68e9ae229 100755
--- a/utils/check_all_upgrades.sh
+++ b/utils/check_all_upgrades.sh
@@ -19,9 +19,10 @@ cd - > /dev/null
 export PGDATABASE=template1
 
 usage() {
-  echo "Usage: $0 [-s] <to_version>"
+  echo "Usage: $0 [<option> ...] <to_version>"
   echo "Options:"
-  echo "\t-s  Stop on first failure"
+  echo "\t--help|-h        Print this usage text"
+  echo "\t-s               Stop on first failure"
   echo "\t--skip <regexp>  Do not run tests with label matching given extended regexp"
 }
 
@@ -31,6 +32,9 @@ while test -n "$1"; do
   elif test "$1" = "--skip"; then
     shift
     SKIP_LABEL_REGEXP=$1
+  elif test "$1" = "-h" -o "$1" = "--help"; then
+    usage
+    exit 0
   elif test -z "$to_version_param"; then
     to_version_param="$1"
   else

-----------------------------------------------------------------------

Summary of changes:
 utils/check_all_upgrades.sh | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)


hooks/post-receive
-- 
PostGIS


More information about the postgis-tickets mailing list