Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 3840978

Browse files
committed
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
1 parent a699b7a commit 3840978

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/tools/version_stamp.pl

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -95,6 +95,9 @@
9595
sed_file("configure.ac",
9696
"-e 's/AC_INIT(\\[PostgreSQL\\], \\[[0-9a-z.]*\\]/AC_INIT([PostgreSQL], [$fullversion]/'"
9797
);
98+
sed_file("meson.build",
99+
qq{-e "/^project(/,/^)/ s/ version: '[0-9a-z.]*',/ version: '$fullversion',/"}
100+
);
98101

99102
print "Stamped these files with version number $fullversion:\n$fixedfiles";
100103
print "Don't forget to run autoconf $aconfver before committing.\n";

0 commit comments

Comments
 (0)