This plugin provides a task to update the project version. The versioning approach follows the SemVer rules.
Given a version number MAJOR.MINOR.PATCH, increment the:
- MAJOR version when you make incompatible API changes,
- MINOR version when you add functionality in a backward-compatible manner, and
- PATCH version when you make backward-compatible bug fixes.
Additional labels for pre-release and build metadata are available as extensions to the MAJOR.MINOR.PATCH format.
Add the following to ./project/plugins.sbt:
resolvers += Resolver.bintrayRepo("reug", "maven")
addSbtPlugin("com.github.reugn" % "sbt-bump-version" % "<version>")
Enable plugin:
enablePlugins(VersionBumpPlugin)
- sbt "vbump major"
- sbt "vbump minor"
- sbt "vbump patch"
- sbt "vbump build"
Optional identifiers (SNAPSHOT etc') should be appended manually with further support by a version bump task.
Licensed under the Apache 2.0 License.