diff options
author | Jakob Odersky <jakob@odersky.com> | 2017-12-03 14:44:33 -0800 |
---|---|---|
committer | Jakob Odersky <jakob@odersky.com> | 2017-12-03 14:50:55 -0800 |
commit | 1c07512716d98e4424760e88f7f3378fc5708b04 (patch) | |
tree | 3758fb6953bbe137f4cfa822690586189258a7d4 /build.sbt | |
parent | 1155700447a091a21646643cef9605878b238b10 (diff) | |
download | akka-serial-1c07512716d98e4424760e88f7f3378fc5708b04.tar.gz akka-serial-1c07512716d98e4424760e88f7f3378fc5708b04.tar.bz2 akka-serial-1c07512716d98e4424760e88f7f3378fc5708b04.zip |
Fix publishingv4.1.2
Diffstat (limited to 'build.sbt')
-rw-r--r-- | build.sbt | 10 |
1 files changed, 6 insertions, 4 deletions
@@ -20,10 +20,12 @@ organization in ThisBuild := "ch.jodersky" licenses in ThisBuild := Seq(("BSD New", url("http://opensource.org/licenses/BSD-3-Clause"))) homepage in ThisBuild := Some(url("https://jodersky.github.io/akka-serial")) publishMavenStyle in ThisBuild := true -publishTo in ThisBuild := { - val nexus = "https://oss.sonatype.org/" - Some("releases" at nexus + "service/local/staging/deploy/maven2") -} +publishTo in ThisBuild := Some( + if (isSnapshot.value) + Opts.resolver.sonatypeSnapshots + else + Opts.resolver.sonatypeStaging +) pomExtra in ThisBuild := { <scm> <url>git@github.com:jodersky/akka-serial.git</url> |