c4urself / bump2version

Version-bump your software with a single command
https://pypi.python.org/pypi/bump2version
MIT License
1.06k stars 133 forks source link

feature request: option to ignore `VersionNotFoundException` #267

Open davidxia opened 1 year ago

davidxia commented 1 year ago

I'm using the globbing feature in a large Python project with many requirements.txt files. I want bumpversion to run on all these files with [bumpversion:glob:**/*.txt] so that I don't have to explicitly list of them in .bumpversion.cfg. But some of these files don't have the version string. I'd like to have a CLI option like bumpversion --ignore-missing to ignore VersionNotFoundException errors. Is this a reasonable feature request? Happy to provide more details.

nilpath commented 11 months ago

+1