Skip to content

Commit

Permalink
Disable release publishing
Browse files Browse the repository at this point in the history
  • Loading branch information
NthPortal committed Jul 13, 2017
1 parent 9835880 commit b7f1e56
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -30,11 +30,8 @@ scalacOptions ++= {
}

publishTo := {
val nexus = "https://oss.sonatype.org/"
if (isSnapshot.value)
Some("snapshots" at nexus + "content/repositories/snapshots")
else
Some("releases" at nexus + "service/local/staging/deploy/maven2")
if (isSnapshot.value) Some("snapshots" at "https://oss.sonatype.org/content/repositories/snapshots")
else None
}

publishMavenStyle := true
Expand Down

0 comments on commit b7f1e56

Please sign in to comment.