You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
My project is using setup.cfg to hold the package version and the config for bumpversion. When running bumpversion, the package version is not changed.
expected
bumpversion's current_version in setup.cfg is bumped.
The package metadata version in setup.cfg is bumped, too.
actual behavior
bumpversion's current_version in setup.cfg is bumped.
The package metadata version in setup.cfg is not bumped.
reproduce
mkdir xxx
cd xxx
cat > setup.cfg <<EOF
[bumpversion]
current_version = 0.3.0
[metadata]
name = some-package
version = 0.3.0
[bumpversion:file:setup.cfg]
EOF
bump2version minor
grep 'version =' setup.cfg
This will output
current_version = 0.4.0
version = 0.3.0
Note that only the entry for current_version was changed.
The text was updated successfully, but these errors were encountered:
My project is using
setup.cfg
to hold the package version and the config for bumpversion. When running bumpversion, the package version is not changed.expected
current_version
insetup.cfg
is bumped.version
insetup.cfg
is bumped, too.actual behavior
current_version
insetup.cfg
is bumped.version
insetup.cfg
is not bumped.reproduce
This will output
Note that only the entry for
current_version
was changed.The text was updated successfully, but these errors were encountered: