[SCM] PostGIS branch master updated. 3.7.0alpha1-22-g94d592651

git at osgeo.org git at osgeo.org
Mon Jul 6 07:20:28 PDT 2026


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  94d592651c46e41b56eddb68c98fe19a8ace0fe6 (commit)
      from  0936d3fa9a7d8e170d4c1806ca522e188f79a681 (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 94d592651c46e41b56eddb68c98fe19a8ace0fe6
Author: Darafei Praliaskouski <me at komzpa.net>
Date:   Mon Jul 6 17:41:03 2026 +0400

    utils: reject duplicate NEWS release headings

diff --git a/utils/check_news.sh b/utils/check_news.sh
index c8f769beb..ed7f85096 100755
--- a/utils/check_news.sh
+++ b/utils/check_news.sh
@@ -38,6 +38,15 @@ fi
 
 cd ${RD}
 
+# Check that release headings are unique. Rebase mistakes can otherwise
+# turn the previous release section into a second copy of the current one.
+duplicate_release=$(grep '^PostGIS [0-9]' NEWS | sort | uniq -d | head -1)
+if test -n "${duplicate_release}"; then
+  echo "FAIL: NEWS file has duplicate release heading: ${duplicate_release}"
+  exit 1
+fi
+echo "PASS: NEWS file release headings are unique"
+
 # Extract dates from NEWS file and check they
 # are sorted correctly
 pdate=$(date '+%Y/%m/%d') # most recent timestamp

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

Summary of changes:
 utils/check_news.sh | 9 +++++++++
 1 file changed, 9 insertions(+)


hooks/post-receive
-- 
PostGIS


More information about the postgis-tickets mailing list