From 8b331b0f514e1eb9a2e46076b2ae6326751bb7c9 Mon Sep 17 00:00:00 2001 From: Collin Funk Date: Sat, 13 Jul 2024 20:10:46 -0700 Subject: [PATCH] announce-gen: Fix copyright year in --version output. * build-aux/announce-gen (copyright_year): Derive from time-stamp. --- ChangeLog | 5 +++++ build-aux/announce-gen | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index a97b22aa28..2ddb14c0db 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2024-07-13 Collin Funk + + announce-gen: Fix copyright year in --version output. + * build-aux/announce-gen (copyright_year): Derive from time-stamp. + 2024-07-13 Bruno Haible stdlib: Support use of clang++ on Ubuntu. diff --git a/build-aux/announce-gen b/build-aux/announce-gen index 9728aeee9e..a412853429 100755 --- a/build-aux/announce-gen +++ b/build-aux/announce-gen @@ -35,13 +35,13 @@ eval 'exec perl -wSx "$0" "$@"' if 0; -my $VERSION = '2024-07-04 10:55'; # UTC +my $VERSION = '2024-07-14 03:11'; # UTC # The definition above must lie within the first 8 lines in order # for the Emacs time-stamp write hook (at end) to update it. # If you change this file with Emacs, please let the write hook # do its job. Otherwise, update this string manually. -my $copyright_year = '2022'; +(my $copyright_year = $VERSION) =~ s/^(\d*)-.*$/$1/; use strict; use Getopt::Long; -- 2.39.5