Use the bump CLI to manage versions
masterThe bump command provides a CLI for inspecting and incrementing project versions. By default, it handles version bumping, running bundle, and committing changes to git.
Version Inspection
- Show current version:
bump current(e.g., returns0.1.2) - Show next version:
bump show-next [type](e.g.,bump show-next patchreturns0.1.3) - Show version file path:
bump file(e.g., returnslib/foo/version.rb)
Version Bumping
Use the following commands to increment the version:
bump majorbump minorbump patchbump pre(for pre-releases)
bump current
bump patch
bump show-next patch
bump file