Re: Add meson.build to version_stamp.pl

2022-10-05 Thread Michael Paquier
On Wed, Oct 05, 2022 at 11:20:50AM -0700, Andres Freund wrote: > On 2022-10-05 11:36:36 +0100, Dagfinn Ilmari Mannsåker wrote: >> sed_file("meson.build", >> qq{-e "/^project(/,/^)/ s/ version: '[0-9a-z.]*',/ version: >> '$fullversion',/"} >> ); > > Yea, that looks nicer. Oh. That's nice..

Re: Add meson.build to version_stamp.pl

2022-10-05 Thread Andres Freund
Hi, On 2022-10-05 11:36:36 +0100, Dagfinn Ilmari Mannsåker wrote: > Peter Eisentraut writes: > > > Thinking ahead a bit, we need to add meson.build to version_stamp.pl. Good idea. I was wondering for a moment whether we should put the version into some file instead, and referen

Re: Add meson.build to version_stamp.pl

2022-10-05 Thread Dagfinn Ilmari Mannsåker
Peter Eisentraut writes: > Thinking ahead a bit, we need to add meson.build to version_stamp.pl. > > Maybe someone can think of a better sed expression, but this one seems > good enough to me for now. […] > +sed_file("meson.build", > + qq{-e "1,20s

Add meson.build to version_stamp.pl

2022-10-05 Thread Peter Eisentraut
Thinking ahead a bit, we need to add meson.build to version_stamp.pl. Maybe someone can think of a better sed expression, but this one seems good enough to me for now.From aae1dc51287655af3f847c3b7d07050f6e8651ec Mon Sep 17 00:00:00 2001 From: Peter Eisentraut Date: Wed, 5 Oct 2022 10:32:34