All tools

Semver Bumper

Bump a semver version by major, minor, patch, or pre-release.

Major: 1

Minor: 4

Patch: 2

All bumps

  • Major2.0.0
  • Minor1.5.0
  • Patch1.4.3
  • Pre-major2.0.0-rc.0
  • Pre-minor1.5.0-rc.0
  • Pre-patch1.4.3-rc.0
  • Pre-release1.4.3-rc.0

Semantic Versioning 2.0. Major: incompatible API change. Minor: new feature, backward compatible. Patch: bug fix, backward compatible. Same logic npm uses for `npm version` and what semantic-release picks based on Conventional Commits.

About

Type any semver version (1.4.2, 2.0.0-rc.3, etc.). The tool shows what each bump (major, minor, patch, premajor, preminor, prepatch, prerelease) would produce, exactly like npm version.

How to use

  1. Type a version.
  2. Set the pre-release id (rc, beta).
  3. Read all the bumps.

FAQ

How do prerelease bumps work?+

If the version already has a prerelease, prerelease bumps the trailing number. If not, it bumps patch and adds <preid>.0. Same as npm.