Having a setup.cfg with:
[metadata]
version = 0.1.0
[bumpversion]
current_version = 0.1.0
[bumpversion:file:setup.cfg]
With the command bump2version minor the result is:
[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)
bump2version version is 0.5.11
Thank you
Having a
setup.cfgwith:With the command
bump2version minorthe result is:As you can see only
current_versionis 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