From: Peter Eisentraut Date: Wed, 12 Oct 2022 05:03:51 +0000 (+0200) Subject: Add meson.build to version_stamp.pl X-Git-Tag: REL_16_BETA1~1497 X-Git-Url: http://git.postgresql.org/gitweb/?a=commitdiff_plain;h=38409787dc071d6af947a5eb4819ba97a24431f7;p=postgresql.git Add meson.build to version_stamp.pl Author: Dagfinn Ilmari Mannsåker Reviewed-by: Andres Freund Discussion: https://www.postgresql.org/message-id/flat/7567dd2d-5e28-c135-79ff-270d7ed83490%40enterprisedb.com --- diff --git a/src/tools/version_stamp.pl b/src/tools/version_stamp.pl index 9d4f44d4a95..0c2f6a14de6 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";