aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/debian/Makefile
diff options
context:
space:
mode:
authorEgor Tensin <Egor.Tensin@gmail.com>2022-04-30 00:05:12 +0200
committerEgor Tensin <Egor.Tensin@gmail.com>2022-04-30 00:05:12 +0200
commit2b09d905e1036ce63ac7f0e5417b973a01b37550 (patch)
treea6823846b4a5b0d7675bdc1db8b51a8fcb851be7 /debian/Makefile
parentdebian: 2.2-1 (diff)
downloadlinux-status-2b09d905e1036ce63ac7f0e5417b973a01b37550.tar.gz
linux-status-2b09d905e1036ce63ac7f0e5417b973a01b37550.zip
debian/Makefile: add commit target
Diffstat (limited to '')
-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