peritus / bumpversion

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

Is it possible to allow {current_[part]} / {new_[part]} in search/replace? #218

Open chanpl opened 2 years ago

chanpl commented 2 years ago

Hi,

{current_major}, {new_patch} ...etc are supported in message. Is it possible to allow them in search/replace? This would be useful to manage project with "short" version like 1.3.9 and 1.3.

Thanks.