Skip to content

Commit

Permalink
publishTo sbt 0.13-style
Browse files Browse the repository at this point in the history
Signed-off-by: Joachim Hofer <[email protected]>
  • Loading branch information
Joachim Hofer committed Oct 19, 2013
1 parent c674cd9 commit f01c66a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions publish.sbt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
publishTo <<= version { version =>
val qualifier = "sbt-plugin-" + (if (version contains "-SNAPSHOT") "snapshots" else "releases")
publishTo := {
val qualifier = "sbt-plugin-" + (if (version.value contains "-SNAPSHOT") "snapshots" else "releases")
Some(Resolver.url(qualifier, new URL(s"http://repo.scala-sbt.org/scalasbt/$qualifier"))(Resolver.ivyStylePatterns))
}

Expand Down

0 comments on commit f01c66a

Please sign in to comment.