diff options
Diffstat (limited to '.drone/authenv.sh')
-rwxr-xr-x[-rw-r--r--] | .drone/authenv.sh | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/.drone/authenv.sh b/.drone/authenv.sh index 1c7b37b..34f648e 100644..100755 --- a/.drone/authenv.sh +++ b/.drone/authenv.sh @@ -7,12 +7,15 @@ set -e # import public key from key servers +echo "Getting public key" gpg2 --batch --keyserver hkp://pool.sks-keyservers.net --recv-keys 4E7DA7B5A0F86992D6EB3F514601878662E33372 # import secret signing sub key, the key is expected to be passwordless +echo "Importing SSB" echo "$GPG_SSB" | gpg2 --batch --import # prepare gpg settings for sbt +echo "Setting up sbt-pgp" cat << EOF > gpg.sbt import com.typesafe.sbt.pgp.PgpKeys._ pgpSigningKey in Global := Some(0x2CED17AB2B6D6F37l) @@ -21,6 +24,7 @@ useGpg in Global := true EOF # prepare bintray settings +echo "Setting up sbt-bintray" mkdir -p "$HOME"/.bintray cat << EOF > "$HOME"/.bintray/.credentials realm = Bintray API Realm |