sbt-release
sbt-release copied to clipboard
java.lang.IllegalArgumentException: requirement failed: No /trunk, /branches or /tags part found in svn url
The docs mention "sbt-release has built in support to commit/push to Git, Mercurial and Subversion repositories." but does it really support SVN? If so, can you provide examples on how to do this (instead of the default commit-t-git examples?)
I guess the real question here is, why is the statement below not working in my case: "releaseVcs := Vcs.detect(baseDirectory.value)"
object Vcs { def detect(dir: File): Option[Vcs] = { Stream(Git, Mercurial, Subversion).flatMap(comp => comp.isRepository(dir).map(comp.mkVcs(_))).headOption } }
I don't have any .git folder in my working directory. Only .svn As i'm working on different projects (git and svn), could i override this detection somehow?
ok, i re-installed my git client and now it seems to work better. But at svn tagging time i get:
java.lang.IllegalArgumentException: requirement failed: No /trunk, /branches or /tags part found in svn url. Base url cannot be extracted.
my svn url is something like (output from svn info) URL: svn://svn.company.com/source/ssi/app/trunk