peritus / bumpversion

Version-bump your software with a single command
https://pypi.python.org/pypi/bumpversion
MIT License
1.5k stars 148 forks source link

bumpversion rewrites setup.cfg file #171

Closed wrobell closed 6 years ago

wrobell commented 6 years ago

bumpversion rewrites setup.cfg file. It would be great if it just changed the version without doing that.

peritus commented 6 years ago

It doesn't due to a technical limitation with the parser it uses. You can use .bumpversion.cfg as an alternative.

wrobell commented 6 years ago

I believe only version is changed, so why not simply use regexp like with other files (which I believe is being done).