Skip to content

Commit ccb2e53

Browse files
committed
fix(plugins/git): fix typo variable change
1 parent cc7792c commit ccb2e53

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

plugins/git.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -86,9 +86,9 @@ cleanup() {
8686
fi
8787

8888
log_verbose "Git GPG config cleanup"
89-
elif [ -z "${SSH_NO_SIGN-}" ] && [ -n "${SSH_PUB_KEY-}" ]; then
89+
elif [ -z "${SSH_NO_SIGN-}" ] && [ -n "${SSH_PUBLIC_KEY-}" ]; then
9090
git config --local --unset commit.gpgsign true
91-
git config --local --unset user.signingkey "${SSH_PUB_KEY}"
91+
git config --local --unset user.signingkey "${SSH_PUBLIC_KEY}"
9292
git config --local --unset tag.forceSignAnnotated true
9393
git config --local --unset gpg.format ssh
9494

@@ -110,7 +110,7 @@ release() {
110110
if [ -z "${GPG_NO_SIGN-}" ] && [ -n "${GPG_KEY-}" ] && [ -n "${GPG_KEY_ID-}" ]; then
111111
git tag --sign "${NEXT_RELEASE_TAG-}" "${CHECKOUT_SHA}" --message "Release, tag and sign ${NEXT_RELEASE_TAG}"
112112
log "Created GPG signed Git tag [${NEXT_RELEASE_TAG}]!"
113-
elif [ -z "${SSH_NO_SIGN-}" ] && [ -n "${SSH_PUB_KEY-}" ]; then
113+
elif [ -z "${SSH_NO_SIGN-}" ] && [ -n "${SSH_PUBLIC_KEY-}" ]; then
114114
git tag --sign "${NEXT_RELEASE_TAG}" "${CHECKOUT_SHA}" --message "Release, tag and sign ${NEXT_RELEASE_TAG}"
115115
log "Created SSH signed Git tag [${NEXT_RELEASE_TAG}]!"
116116
else

0 commit comments

Comments
 (0)