diff options
author | Peter Eisentraut | 2022-10-12 05:03:51 +0000 |
---|---|---|
committer | Peter Eisentraut | 2022-10-12 05:06:10 +0000 |
commit | 38409787dc071d6af947a5eb4819ba97a24431f7 (patch) | |
tree | ab74cfb99e78bfa13a851f981bcd0bdfa0fa475b /src | |
parent | a699b7a7aa9f34c19aa7632b3f037f24c8ee7720 (diff) |
Add meson.build to version_stamp.pl
Author: Dagfinn Ilmari Mannsåker <[email protected]>
Reviewed-by: Andres Freund <[email protected]>
Discussion: https://www.postgresql.org/message-id/flat/7567dd2d-5e28-c135-79ff-270d7ed83490%40enterprisedb.com
Diffstat (limited to 'src')
-rwxr-xr-x | src/tools/version_stamp.pl | 3 |
1 files changed, 3 insertions, 0 deletions
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"; |