Skip to content

Commit

Permalink
Update publishing.
Browse files Browse the repository at this point in the history
  • Loading branch information
jsuereth committed Sep 4, 2015
1 parent 97eb131 commit e48e205
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,12 @@ name := "sbt-ghpages"

organization := "com.typesafe.sbt"

version := "0.5.4-SNAPSHOT"
version := "0.5.5-SNAPSHOT"

publishMavenStyle := false

publishTo <<= (version) { v =>
def scalasbt(repo: String) = ("scalasbt " + repo, "http://scalasbt.artifactoryonline.com/scalasbt/sbt-plugin-" + repo)
def scalasbt(repo: String) = ("scalasbt " + repo, s"https://api.bintray.com/content/sbt/sbt-plugin-releases/sbt-ghpages/$v" )
val (name, repo) = if (v.endsWith("-SNAPSHOT")) scalasbt("snapshots") else scalasbt("releases")
Some(Resolver.url(name, url(repo))(Resolver.ivyStylePatterns))
}

0 comments on commit e48e205

Please sign in to comment.