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 | |
parent | 1155700447a091a21646643cef9605878b238b10 (diff) | |
download | akka-serial-1c07512716d98e4424760e88f7f3378fc5708b04.tar.gz akka-serial-1c07512716d98e4424760e88f7f3378fc5708b04.tar.bz2 akka-serial-1c07512716d98e4424760e88f7f3378fc5708b04.zip |
Fix publishingv4.1.2
-rwxr-xr-x | .ci/build | 13 | ||||
-rw-r--r-- | CHANGELOG.md | 2 | ||||
-rw-r--r-- | build.sbt | 10 |
3 files changed, 18 insertions, 7 deletions
@@ -23,7 +23,7 @@ EOF # Setup publishing cat <<EOF > sonatype.sbt - credentials += Credentials( + credentials in Global += Credentials( "Sonatype Nexus Repository Manager", "oss.sonatype.org", "8VNUX6+2", @@ -34,5 +34,14 @@ EOF # Build and publish sbt clean sbt -Drelease=true +test - sbt -Drelease=true +publishSigned sonatypeRelease + + # Separate publish steps are required as the "native" project does + # not cross-compile and sbt complains if a published file is + # overwritten + sbt -Drelease=true \ + native/publishSigned \ + +sync/publishSigned \ + +core/publishSigned \ + +stream/publishSigned \ + sonatypeRelease fi diff --git a/CHANGELOG.md b/CHANGELOG.md index 6087eaf..f4c012b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,4 +1,4 @@ -# UNRELEASED +# Version 4.1.2 - Upgrade Akka to 2.5.7 - Build: upgrade sbt to 1.0.4 and related plugins @@ -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> |