File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -86,9 +86,9 @@ cleanup() {
86
86
fi
87
87
88
88
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
90
90
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 } "
92
92
git config --local --unset tag.forceSignAnnotated true
93
93
git config --local --unset gpg.format ssh
94
94
@@ -110,7 +110,7 @@ release() {
110
110
if [ -z " ${GPG_NO_SIGN-} " ] && [ -n " ${GPG_KEY-} " ] && [ -n " ${GPG_KEY_ID-} " ]; then
111
111
git tag --sign " ${NEXT_RELEASE_TAG-} " " ${CHECKOUT_SHA} " --message " Release, tag and sign ${NEXT_RELEASE_TAG} "
112
112
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
114
114
git tag --sign " ${NEXT_RELEASE_TAG} " " ${CHECKOUT_SHA} " --message " Release, tag and sign ${NEXT_RELEASE_TAG} "
115
115
log " Created SSH signed Git tag [${NEXT_RELEASE_TAG} ]!"
116
116
else
You can’t perform that action at this time.
0 commit comments