We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent be884b1 commit 219b958Copy full SHA for 219b958
.buildkite/publish.sh
@@ -18,9 +18,9 @@ GPG_EXISTS=$(gpg --list-keys "$GPG_KEY_ID" >&2 && echo "yes" || echo "no")
18
19
if [[ "$GPG_EXISTS" == "no" ]]; then
20
echo "$GPG_KEY" | base64 --decode | gpg --batch --import
21
+ # Local testing showed that without this the SBT plugin got "Bad passphrase".
22
+ gpg --passphrase $GPG_PASSPHRASE --batch --yes -a -b LICENSE
23
fi
-# Local testing showed that without this the SBT plugin got "Bad passphrase".
-gpg --passphrase $GPG_PASSPHRASE --batch --yes -a -b LICENSE
24
25
# https://github.com/olafurpg/sbt-ci-release#secrets
26
export PGP_SECRET="$GPG_KEY"
0 commit comments