aboutsummaryrefslogtreecommitdiff
path: root/.ci
diff options
context:
space:
mode:
authorJakob Odersky <jakob@odersky.com>2018-09-11 17:58:41 -0700
committerJakob Odersky <jakob@odersky.com>2018-09-11 17:58:41 -0700
commitf8f9093bcdc00c1219de7a965d5ec8aa737e6929 (patch)
treeec62e9b185b6d59d9bc9f296d6aaf106efe581cf /.ci
parent2a372d47b4000f487080b3eeeacd58ba2dfbceea (diff)
downloadspray-json-derivation-f8f9093bcdc00c1219de7a965d5ec8aa737e6929.tar.gz
spray-json-derivation-f8f9093bcdc00c1219de7a965d5ec8aa737e6929.tar.bz2
spray-json-derivation-f8f9093bcdc00c1219de7a965d5ec8aa737e6929.zip
Upgrade sbt and use sbt-gpg to sign artifacts
Diffstat (limited to '.ci')
-rwxr-xr-x.ci/build14
1 files changed, 9 insertions, 5 deletions
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 <<EOF > 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