From 5a8bbe9dbf66f5e85fc17346df3734d1d894fd8c Mon Sep 17 00:00:00 2001 From: Markus Lehtonen Date: Thu, 18 Jan 2018 14:10:26 +0200 Subject: debian/gbp.conf: dch hook to automatically update version in spec file This should automatically keep the spec file under packaging/ always in sync wrt. the package version. Signed-off-by: Markus Lehtonen --- debian/gbp.conf | 1 + 1 file changed, 1 insertion(+) diff --git a/debian/gbp.conf b/debian/gbp.conf index 49010e50..ef14e41d 100644 --- a/debian/gbp.conf +++ b/debian/gbp.conf @@ -3,3 +3,4 @@ debian-branch = master [dch] id-length = 7 +postedit = sed -i s"!^Version:.*!Version: $GBP_DEBIAN_VERSION!" packaging/git-buildpackage.spec -- cgit v1.2.3