aboutsummaryrefslogtreecommitdiff
path: root/.ci/build
diff options
context:
space:
mode:
Diffstat (limited to '.ci/build')
-rwxr-xr-x.ci/build13
1 files changed, 11 insertions, 2 deletions
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 <<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