From f01a0d41576323d5165464578b074ba87db8a57d Mon Sep 17 00:00:00 2001 From: Petter Reinholdtsen Date: Tue, 16 Nov 2021 05:18:43 +0100 Subject: [PATCH] Switched from git log+debchange to gbp dch to autogenerate d/changelog. This add author name to the list. Fixes #198 --- Makefile | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index d4004497..79f8435b 100755 --- a/Makefile +++ b/Makefile @@ -97,9 +97,8 @@ $(DIST_WIN32): $(DIST_DIR) build update-deb-changelog: @# retrieve the log of all commits since the latest release and add it to the deb changelog if ! grep -qFw "$(VERSION)" debian/changelog; then \ - git log --pretty=format:%s v$(shell dpkg-parsechangelog | sed --quiet -re 's/Version: (.*)/\1/ p').. | \ - DEBFULLNAME="PyCAM Builder" DEBEMAIL="builder@pycam.org" \ - xargs -r -d '\n' -n 1 -- debchange --newversion "$(subst -,.,$(VERSION))"; \ + DEBFULLNAME="PyCAM Builder" DEBEMAIL="builder@pycam.org" \ + gbp dch --new-version="$(subst -,.,$(VERSION))"; \ fi update-version: