From 38409787dc071d6af947a5eb4819ba97a24431f7 Mon Sep 17 00:00:00 2001 From: Peter Eisentraut Date: Wed, 12 Oct 2022 07:03:51 +0200 Subject: [PATCH] Add meson.build to version_stamp.pl MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Author: Dagfinn Ilmari Mannsåker Reviewed-by: Andres Freund Discussion: https://www.postgresql.org/message-id/flat/7567dd2d-5e28-c135-79ff-270d7ed83490%40enterprisedb.com --- src/tools/version_stamp.pl | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/tools/version_stamp.pl b/src/tools/version_stamp.pl index 9d4f44d4a9..0c2f6a14de 100755 --- a/src/tools/version_stamp.pl +++ b/src/tools/version_stamp.pl @@ -95,6 +95,9 @@ my $fixedfiles = ""; sed_file("configure.ac", "-e 's/AC_INIT(\\[PostgreSQL\\], \\[[0-9a-z.]*\\]/AC_INIT([PostgreSQL], [$fullversion]/'" ); +sed_file("meson.build", + qq{-e "/^project(/,/^)/ s/ version: '[0-9a-z.]*',/ version: '$fullversion',/"} +); print "Stamped these files with version number $fullversion:\n$fixedfiles"; print "Don't forget to run autoconf $aconfver before committing.\n";