When a package uses towncrier to update the changelog file, the last version header will be something like 5.2.0 (2018-11-09). When you call bumpversion --feature it will change this to 5.3.0 (2018-11-09). That is what happened to me in the commit in i18ndude
Easiest fix would seem to be: let bumpversion only touch the changelog file when there is an (unreleased) header in it.
Changing the version in setup.py is enough here.
When a package uses
towncrier
to update the changelog file, the last version header will be something like5.2.0 (2018-11-09)
. When you callbumpversion --feature
it will change this to5.3.0 (2018-11-09)
. That is what happened to me in the commit ini18ndude
Easiest fix would seem to be: let
bumpversion
only touch the changelog file when there is an(unreleased)
header in it. Changing the version insetup.py
is enough here.