summaryrefslogtreecommitdiff
path: root/debian/rules
diff options
context:
space:
mode:
Diffstat (limited to 'debian/rules')
-rwxr-xr-xdebian/rules2
1 files changed, 1 insertions, 1 deletions
diff --git a/debian/rules b/debian/rules
index 74cc078d..0033fcbe 100755
--- a/debian/rules
+++ b/debian/rules
@@ -6,7 +6,7 @@ PKG_VERSION := $(shell dpkg-parsechangelog | sed -ne 's/^Version: \(.*\)/\1/p')
# this target invoked by git-buildpackage using a clean hook, see .gbp.conf
prebuild:
- dch -v `git describe | tr - +` "build for Debian from git"
+ git-dch --release --new-version=`git describe | tr - +`
git log > ChangeLog
git commit ChangeLog debian/changelog \
-m "update changelogs for Debian build"