Open fastfailure opened 5 years ago
Having a setup.cfg with:
setup.cfg
[metadata] version = 0.1.0 [bumpversion] current_version = 0.1.0 [bumpversion:file:setup.cfg]
With the command bump2version minor the result is:
bump2version minor
[bumpversion] current_version = 0.2.0 [metadata] version = 0.1.0 [bumpversion:file:setup.cfg]
As you can see only current_version is updated, and the section [bumpversion] it's moved to te top of the file (this doesn't bother me too much)
current_version
[bumpversion]
bump2version version is 0.5.11
Thank you
Seeing the same behaviour with the exception that the [bumpversion] section being moved to the top of the file does bother me a bit 😅
Having a
setup.cfg
with:With the command
bump2version minor
the result is:As you can see only
current_version
is updated, and the section[bumpversion]
it's moved to te top of the file (this doesn't bother me too much)bump2version version is 0.5.11
Thank you