From f8f9093bcdc00c1219de7a965d5ec8aa737e6929 Mon Sep 17 00:00:00 2001 From: Jakob Odersky Date: Tue, 11 Sep 2018 17:58:41 -0700 Subject: Upgrade sbt and use sbt-gpg to sign artifacts --- .ci/build | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) (limited to '.ci') diff --git a/.ci/build b/.ci/build index 3354e1a..02e9f6b 100755 --- a/.ci/build +++ b/.ci/build @@ -15,8 +15,12 @@ if [[ "$TRAVIS_PULL_REQUEST" == "false" && "$TRAVIS_TAG" =~ ^v[0-9].* ]]; then # Set up publishing settings and credentials cat < credentials.sbt - useGpg in Global := true - pgpSigningKey in Global := Some(0x488F99C904F077E8l) + credentials in Global += Credentials( + "GnuPG Key ID", + "gpg", + "DC7751D77486D755815C04AB488F99C904F077E8", + "ignored" + ) credentials in Global += Credentials( "Sonatype Nexus Repository Manager", "oss.sonatype.org", @@ -27,8 +31,8 @@ EOF # Publish and release sbt \ - +sprayJsonDerivationJVM/publishSigned \ - +sprayJsonDerivationJS/publishSigned \ - +sprayJsonDerivationNative/publishSigned \ + +sprayJsonDerivationJVM/publish \ + +sprayJsonDerivationJS/publish \ + +sprayJsonDerivationNative/publish \ sonatypeRelease fi -- cgit v1.2.3