diff options
author | Markus Lehtonen <markus.lehtonen@linux.intel.com> | 2018-01-18 14:10:26 +0200 |
---|---|---|
committer | Guido Günther <agx@sigxcpu.org> | 2018-01-20 12:47:17 +0100 |
commit | 5a8bbe9dbf66f5e85fc17346df3734d1d894fd8c (patch) | |
tree | 03409d843ae731e8b2fe01aac24758de4c29c89c | |
parent | 30114904ff7c06f1cc9e6a47fa4b329a243fa704 (diff) |
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 <markus.lehtonen@linux.intel.com>
-rw-r--r-- | debian/gbp.conf | 1 |
1 files changed, 1 insertions, 0 deletions
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 |