From 1c07512716d98e4424760e88f7f3378fc5708b04 Mon Sep 17 00:00:00 2001 From: Jakob Odersky Date: Sun, 3 Dec 2017 14:44:33 -0800 Subject: Fix publishing --- .ci/build | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) (limited to '.ci/build') diff --git a/.ci/build b/.ci/build index 10edc63..f579187 100755 --- a/.ci/build +++ b/.ci/build @@ -23,7 +23,7 @@ EOF # Setup publishing cat < 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 -- cgit v1.2.3