aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/debian/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'debian/Makefile')
-rw-r--r--debian/Makefile6
1 files changed, 6 insertions, 0 deletions
diff --git a/debian/Makefile b/debian/Makefile
index 82222af..a145c53 100644
--- a/debian/Makefile
+++ b/debian/Makefile
@@ -53,6 +53,12 @@ deps:
dch:
gbp dch --distribution=unstable
+.PHONY: commit
+commit:
+ cd -- '$(call escape,$(root))' && \
+ version="$$( dpkg-parsechangelog --show-field Version )" && \
+ git commit -m "debian: $$version"
+
.PHONY: tag
tag:
pushd '$(call escape,$(root))' && gbp buildpackage --git-tag-only