Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .buildkite/publish.sh
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,9 @@ GPG_EXISTS=$(gpg --list-keys "$GPG_KEY_ID" >&2 && echo "yes" || echo "no")

if [[ "$GPG_EXISTS" == "no" ]]; then
echo "$GPG_KEY" | base64 --decode | gpg --batch --import
# Local testing showed that without this the SBT plugin got "Bad passphrase".
gpg --passphrase $GPG_PASSPHRASE --batch --yes -a -b LICENSE
fi
# Local testing showed that without this the SBT plugin got "Bad passphrase".
gpg --passphrase $GPG_PASSPHRASE --batch --yes -a -b LICENSE

# https://github.com/olafurpg/sbt-ci-release#secrets
export PGP_SECRET="$GPG_KEY"
Expand Down