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

Check if there are changes in origin before bumping the version #122

Open josericardo opened 8 years ago

josericardo commented 8 years ago

I'm wondering if it would be a nice enhancement if bumpversion could check origin for changes before actually bumping.

The user could be prompted if he wants to proceed anyway:

"There are changes in origin that you may want to fetch before bumping the version. Proceed [Y]?"

What do you think?