https://github.com/reugn/sbt-bump-version
Bump project version using sbt
https://github.com/reugn/sbt-bump-version
sbt sbt-plugin version-bump versioning
Last synced: 3 months ago
JSON representation
Bump project version using sbt
- Host: GitHub
- URL: https://github.com/reugn/sbt-bump-version
- Owner: reugn
- License: apache-2.0
- Created: 2019-06-09T06:44:30.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2019-06-09T09:33:29.000Z (about 6 years ago)
- Last Synced: 2025-01-17T03:25:53.140Z (5 months ago)
- Topics: sbt, sbt-plugin, version-bump, versioning
- Language: Scala
- Size: 7.81 KB
- Stars: 0
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# sbt-bump-version
[  ](https://bintray.com/reug/maven/sbt-bump-version/_latestVersion)This plugin provides a task to update the project version.
The versioning approach follows the [SemVer](https://semver.org/) 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:
```scala
resolvers += Resolver.bintrayRepo("reug", "maven")
addSbtPlugin("com.github.reugn" % "sbt-bump-version" % "")
```
Enable plugin:
```scala
enablePlugins(VersionBumpPlugin)
```## Usage
- sbt "vbump major"
- sbt "vbump minor"
- sbt "vbump patch"
- sbt "vbump build"Optional [identifiers](https://semver.org/#spec-item-9) (SNAPSHOT etc') should be appended manually with further support by a version bump task.
## License
Licensed under the [Apache 2.0 License](./LICENSE.txt).