File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 138138 scmURL=${scmURL%/ }
139139 if [ " $NO_DEPLOY " ]; then
140140 echo " No deploy -- the NO_DEPLOY flag is set"
141- elif [ ! " $SIGNING_ASC " -o ! " $GPG_KEY_NAME " -o ! " $GPG_PASSPHRASE " -o ! " $MAVEN_PASS " -o ! " $OSSRH_PASS " ]; then
141+ elif [ ! " $SIGNING_ASC " -o ! " $GPG_KEY_NAME " -o ! " $GPG_PASSPHRASE " -o ! " $MAVEN_PASS " -o ! " $CENTRAL_PASS " ]; then
142142 echo " No deploy -- secure environment variables not available"
143143 elif [ " $BUILD_REPOSITORY " -a " $BUILD_REPOSITORY " != " $scmURL " ]; then
144144 echo " No deploy -- repository fork: $BUILD_REPOSITORY != $scmURL "
Original file line number Diff line number Diff line change @@ -129,8 +129,8 @@ process() {
129129 GPG_PASSPHRASE: \$ {{ secrets.GPG_PASSPHRASE }}
130130 MAVEN_USER: \$ {{ secrets.MAVEN_USER }}
131131 MAVEN_PASS: \$ {{ secrets.MAVEN_PASS }}
132- OSSRH_USER : \$ {{ secrets.OSSRH_USER }}
133- OSSRH_PASS : \$ {{ secrets.OSSRH_PASS }}
132+ CENTRAL_USER : \$ {{ secrets.CENTRAL_USER }}
133+ CENTRAL_PASS : \$ {{ secrets.CENTRAL_PASS }}
134134 SIGNING_ASC: \$ {{ secrets.SIGNING_ASC }}"
135135
136136 # -- Do things --
You can’t perform that action at this time.
0 commit comments