Thanks, I installed the attached followup, mostly to comment that
"today" no longer necessarily means today's date.From 553ab924d2b68d930fae5d3c6396502a57852d23 Mon Sep 17 00:00:00 2001
In-Reply-To: <87ed0ijzno....@josefsson.org>
References: <87ed0ijzno....@josefsson.org>
From: Paul Eggert <egg...@cs.ucla.edu>
Date: Fri, 31 Jan 2025 16:24:26 -0800
Subject: [PATCH] announce-gen: add comments
* top/maint.mk: Add comments re recent change.
---
ChangeLog | 5 +++++
top/maint.mk | 3 +++
2 files changed, 8 insertions(+)
diff --git a/ChangeLog b/ChangeLog
index 89674821a0..cc0fe24943 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2025-01-31 Paul Eggert <egg...@cs.ucla.edu>
+
+ announce-gen: add comments
+ * top/maint.mk: Add comments re recent change.
+
2025-02-01 Simon Josefsson <si...@josefsson.org>
announce-gen: Allow 'make release' to work any day.
diff --git a/top/maint.mk b/top/maint.mk
index fb2fba93c9..8c9fff55ab 100644
--- a/top/maint.mk
+++ b/top/maint.mk
@@ -146,6 +146,7 @@ url_dir_list ?= $(if $(call _equal,$(gnu_rel_host),ftp.gnu.org), \
https://ftpmirror.gnu.org/$(PACKAGE), \
https://$(gnu_rel_host)/gnu/$(PACKAGE))
+# An ERE matching the release date (typically today, but not necessarily).
# Override this in cfg.mk if you are using a different format in your
# NEWS file.
today = [0-9]{4,}-[0-9][0-9]-[0-9][0-9]
@@ -155,6 +156,8 @@ today = [0-9]{4,}-[0-9][0-9]-[0-9][0-9]
# lines 1..10 of NEWS for $(news-check-regexp).
# If you want to search only line 3 or only lines 20-22, use "3" or "20,22".
news-check-lines-spec ?= 1,10
+
+# An ERE quoted for the shell, for matching a version+date line prefix.
news-check-regexp ?= '^\*.* $(VERSION_REGEXP) \($(today)\)'
# Prevent programs like 'sort' from considering distinct strings to be equal.
--
2.45.2