Commit 5a8bbe9d authored by Markus Lehtonen's avatar Markus Lehtonen Committed by Guido Günther

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: default avatarMarkus Lehtonen <>
parent 30114904
...@@ -3,3 +3,4 @@ debian-branch = master ...@@ -3,3 +3,4 @@ debian-branch = master
[dch] [dch]
id-length = 7 id-length = 7
postedit = sed -i s"!^Version:.*!Version: $GBP_DEBIAN_VERSION!" packaging/git-buildpackage.spec
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment