VerBump

Exit codes

The stable 0–5 exit-code contract.

Every run ends with a stable, documented exit code, so scripts and CI can branch on $?.

CodeMeaning
0Success.
1Generic runtime error (failed commit, jq write error, etc.).
2Usage / argument-parse error (unknown flag, missing value).
3Precondition failure (missing git/jq, dirty tree, disallowed branch, SemVer validation, insecure .verbumprc, branch/tag already exists).
4Hook failure: PRE_BUMP_CMD or POST_TAG_CMD exited non-zero (see Release hooks).
5User abort (declined a prompt, e.g. push confirmation).