diff options
author | Jakob Odersky <jakob@odersky.com> | 2019-06-15 17:30:26 +0200 |
---|---|---|
committer | Jakob Odersky <jakob@odersky.com> | 2019-06-15 17:30:26 +0200 |
commit | 4a55232d23c47225dc1c12b530636595b4453ac5 (patch) | |
tree | 71368e410c6efd4a6472c14dc8aa4f4eac036e54 /.travis | |
parent | 0be325d533af3c5d4f9af70bce495da6047f6c3a (diff) | |
download | sbt-jni-4a55232d23c47225dc1c12b530636595b4453ac5.tar.gz sbt-jni-4a55232d23c47225dc1c12b530636595b4453ac5.tar.bz2 sbt-jni-4a55232d23c47225dc1c12b530636595b4453ac5.zip |
Diffstat (limited to '.travis')
-rwxr-xr-x | .travis/build | 19 |
1 files changed, 8 insertions, 11 deletions
diff --git a/.travis/build b/.travis/build index 124f385..84838f8 100755 --- a/.travis/build +++ b/.travis/build @@ -17,19 +17,16 @@ if [[ "$TRAVIS_PULL_REQUEST" == "false" && "$TRAVIS_TAG" =~ ^v[0-9].* ]]; then gpg --import sec.gpg # Setup sbt-pgp plugin - cat <<-EOF > project/gpg.sbt - addSbtPlugin("com.jsuereth" % "sbt-pgp" % "1.1.1") - EOF cat <<-EOF > gpg.sbt - pgpSigningKey in Global := Some(0x7C921C6769797655l) - useGpgAgent in Global := true - useGpg in Global := true + credentials += Credentials( + "GnuPG Key ID", + "gpg", + "2B50AAFF11989ECC8531EB4A7C921C6769797655", // key identifier + "ignored" // this field is ignored; passwords are supplied by pinentry + ) EOF - # Setup bitray publishing plugin - cat <<-EOF > project/bintray.sbt - addSbtPlugin("org.foundweekends" % "sbt-bintray" % "0.5.4") - EOF + # Setup bintray publishing plugin mkdir ~/.bintray openssl aes-256-cbc \ -K "$encrypted_35cdae908c05_key" \ @@ -38,5 +35,5 @@ if [[ "$TRAVIS_PULL_REQUEST" == "false" && "$TRAVIS_TAG" =~ ^v[0-9].* ]]; then -out ~/.bintray -d # Publish - sbt +publishSigned + sbt +publish fi |