bump
bump copied to clipboard
cannot bump patch version with --patch
➜ bump --version
1.8.33
➜ bump --patch
💥version unchanged; specify major, minor, or patch
but running without any args does bump patch version. is this expected behavior?
I'm sorry to respond so late, but I overlooked this issue.
The behavior is expected because --patch is a toggle for the boolean patch argument, which defaults to true. It's not great behavior and we should probably handle a lack of arguments specifically; then --patch can serve a useful purpose and have parity with --minor and --major.
That said, I think we should leave the issue open until the behavior changes. Why not, right. You're probably not the first one to get tripped up by this.