Skip to content

Commit

Permalink
Don't append dummy debian version. Internal tasks#133
Browse files Browse the repository at this point in the history
  • Loading branch information
mschmitt committed Mar 8, 2024
1 parent 8ab929f commit 0fad977
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion git-dch.sh
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ appendChangelog () {
local entry
local cmd

cmd="dch $([[ -e 'debian/changelog' ]] || echo '--create') --distribution $DIST --package $PKG_NAME --newversion $version-1 --controlmaint"
cmd="dch $([[ -e 'debian/changelog' ]] || echo '--create') --distribution $DIST --package $PKG_NAME --newversion $version --controlmaint"
git log --pretty=tformat:'%s' "${range}" | ifne -n echo "No changes." | while read -r entry; do
$cmd "${entry}"
cmd="dch --append --controlmaint"
Expand Down

0 comments on commit 0fad977

Please sign in to comment.