diff options
author | Jakob Odersky <jakob@inpher.io> | 2019-02-28 01:20:00 +0100 |
---|---|---|
committer | Jakob Odersky <jakob@inpher.io> | 2019-02-28 01:20:00 +0100 |
commit | e9b9a3e8858f1b5e41a411e6e4995d796f3e409f (patch) | |
tree | a01b688770b499389edb9d9b3a5efd9e3e8e786e /.ci | |
parent | 76ce9beb29b7c11fd622c4734b65cefe1a3b99bc (diff) | |
download | akka-serial-e9b9a3e8858f1b5e41a411e6e4995d796f3e409f.tar.gz akka-serial-e9b9a3e8858f1b5e41a411e6e4995d796f3e409f.tar.bz2 akka-serial-e9b9a3e8858f1b5e41a411e6e4995d796f3e409f.zip |
Move to sbt-gpg for signing releases
Diffstat (limited to '.ci')
-rwxr-xr-x | .ci/build | 29 |
1 files changed, 14 insertions, 15 deletions
@@ -21,20 +21,19 @@ if [[ "$TRAVIS_PULL_REQUEST" == "false" && "$TRAVIS_TAG" =~ ^v[0-9].* ]]; then -d gpg --import sec.gpg - # Setup sbt-pgp plugin - cat <<-EOF > gpg.sbt - pgpSigningKey in Global := Some(0x7C921C6769797655l) - useGpgAgent in Global := true - useGpg in Global := true - EOF - # Setup publishing cat <<-EOF > sonatype.sbt credentials in Global += Credentials( - "Sonatype Nexus Repository Manager", - "oss.sonatype.org", - "8VNUX6+2", - "$SONATYPE_PASS" + "GnuPG Key ID", + "gpg", + "2B50AAFF11989ECC8531EB4A7C921C6769797655", + "ignored" + ) + credentials in Global += Credentials( + "Sonatype Nexus Repository Manager", + "oss.sonatype.org", + "8VNUX6+2", + "$SONATYPE_PASS" ) EOF @@ -46,9 +45,9 @@ if [[ "$TRAVIS_PULL_REQUEST" == "false" && "$TRAVIS_TAG" =~ ^v[0-9].* ]]; then # not cross-compile and sbt complains if a published file is # overwritten sbt -Drelease=true \ - native/publishSigned \ - +sync/publishSigned \ - +core/publishSigned \ - +stream/publishSigned \ + native/publish \ + +sync/publish \ + +core/publish \ + +stream/publish \ sonatypeRelease fi |