Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

reugn/sbt-bump-version

Repository files navigation

sbt-bump-version

Download

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.

Getting started

Add the following to ./project/plugins.sbt:

resolvers += Resolver.bintrayRepo("reug", "maven")
addSbtPlugin("com.github.reugn" % "sbt-bump-version" % "<version>")

Enable plugin:

enablePlugins(VersionBumpPlugin)

Usage

  • 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.

License

Licensed under the Apache 2.0 License.

About

Bump project version using sbt

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

AltStyle によって変換されたページ (->オリジナル) /