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

Do not fail on the dirty state during the dry-run #203

Open slavaatsig opened 5 years ago

slavaatsig commented 5 years ago

Perhaps it would be better to avoid the exception of “Git working directory is not clean” and issue a warning instead, when “--dry-run” flag is used.

den4uk commented 5 years ago

The --dry-run tells you you have your git directory dirty, as if you did it for real. Use in conjunction with --allow-dirty flag for behaviour you want.