From: Simon Josefsson Date: Fri, 31 Jan 2025 23:58:45 +0000 (+0100) Subject: announce-gen: Allow 'make release' to work any day. X-Git-Url: https://gitweb.git.savannah.gnu.org/gitweb/?a=commitdiff_plain;h=c89cd2fbd3b9f3d7c5a146247256599714c91ec7;p=gnulib.git announce-gen: Allow 'make release' to work any day. * top/maint.mk (today): Use regexp rather than current time. --- diff --git a/ChangeLog b/ChangeLog index 2f0e8d34e7..89674821a0 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2025-02-01 Simon Josefsson + + announce-gen: Allow 'make release' to work any day. + * top/maint.mk (today): Use regexp rather than current time. + 2025-02-01 Simon Josefsson announce-gen: Deal with 'guix --version'. diff --git a/top/maint.mk b/top/maint.mk index 78c757d8f1..fb2fba93c9 100644 --- a/top/maint.mk +++ b/top/maint.mk @@ -148,7 +148,7 @@ url_dir_list ?= $(if $(call _equal,$(gnu_rel_host),ftp.gnu.org), \ # Override this in cfg.mk if you are using a different format in your # NEWS file. -today = $(shell date +%Y-%m-%d) +today = [0-9]{4,}-[0-9][0-9]-[0-9][0-9] # Select which lines of NEWS are searched for $(news-check-regexp). # This is a sed line number spec. The default says that we search