Use git-describe as a version and run git commands inside SBT shell.
// project/plugins.sbt:
addSbtPlugin("io.github.zero-deps" % "sbt-git" % "latest.integration")
// build.sbt:
version := zero.git.version() /* git-describe */
// run git commands inside sbt shell
sbt> git status // can be shorted
sbt> git add [<pathspec>β¦]...
sbt> git commit -m <msg>
sbt> git help
export GPG_TTY=$(tty)
sbt publishSigned
open https://oss.sonatype.org/#stagingRepositories