Skip to content

Commit

Permalink
Update build.sbt
Browse files Browse the repository at this point in the history
  • Loading branch information
ldaume committed Jul 31, 2017
1 parent 0ecf15e commit bea3c75
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build.sbt
Expand Up @@ -21,7 +21,7 @@ pomIncludeRepository := { _ => false }

publishTo := {
val nexus = "https://maven.reinvent-software.de/nexus/"
if (version.value.trim.endsWith("SNAPSHOT"))
if ((version in ThisBuild).value.endsWith("SNAPSHOT")) {
Some("snapshots" at nexus + "content/repositories/snapshots")
else
Some("releases" at nexus + "content/repositories/releases")
Expand Down

0 comments on commit bea3c75

Please sign in to comment.