summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorEgor Tensin <egor@tensin.name>2026-09-23 14:27:24 +0500
committerEgor Tensin <egor@tensin.name>2026-09-23 14:27:24 +0500
commit64731348b381bbb404e505795728b8e27b0bda4c (patch)
tree2312c5a4ab2a59fd044d225d23c1246621737d83
parentdebian: apt-get -> apt (diff)
downloadconfig-links-64731348b381bbb404e505795728b8e27b0bda4c.tar.gz
config-links-64731348b381bbb404e505795728b8e27b0bda4c.zip
debian: use gbp dch w/ the --commit option
-rw-r--r--debian/Makefile8
-rw-r--r--debian/gbp.conf5
2 files changed, 6 insertions, 7 deletions
diff --git a/debian/Makefile b/debian/Makefile
index be96e9f..5324b93 100644
--- a/debian/Makefile
+++ b/debian/Makefile
@@ -39,13 +39,7 @@ deps:
.PHONY: dch
dch:
- gbp dch --distribution=unstable
-
-.PHONY: commit
-commit:
- cd -- '$(call escape,$(root))' && \
- version="$$( dpkg-parsechangelog --show-field Version )" && \
- git commit -m "debian: $$version"
+ gbp dch --distribution=unstable --commit
.PHONY: tag
tag:
diff --git a/debian/gbp.conf b/debian/gbp.conf
index e7faaa2..6b7428b 100644
--- a/debian/gbp.conf
+++ b/debian/gbp.conf
@@ -5,3 +5,8 @@ debian-branch = debian
debian-tag = debian/v%(version)s
pristine-tar = False
export-dir = debian/build-area/
+
+[dch]
+dch-opt = --upstream
+# ^^^ Don't append "ubuntu1" to the version.
+commit-msg = debian: v%(version)s