• Stars
    star
    2
  • Language
    Scala
  • License
    MIT License
  • Created almost 4 years ago
  • Updated over 3 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Use git-describe as a version and run git commands inside SBT shell

sbt-git

ci

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

Publishing

export GPG_TTY=$(tty)
sbt publishSigned
open https://oss.sonatype.org/#stagingRepositories