Installation
Add the Plugin
In project/plugins.sbt:
addSbtPlugin("africa.shuwari" % "sbt-version" % "@VERSION@")
Verify
> show version
[info] 0.1.0-SNAPSHOT+branchmain.commits0.shaabc1234
Create a Release
Tag your commit:
git tag -a v1.0.0 -m "Release 1.0.0"
> show version
[info] 1.0.0
Requirements
- sbt 2.x — the plugin uses sbt 2.x APIs
- Git repository —
.gitdirectory must exist - Git CLI — available in PATH
In this article