Skip to content

zero-deps/sbt-git

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

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

Resources

License

Stars

Watchers

Forks

Languages