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 3cc654e commit 7bd22bfCopy full SHA for 7bd22bf
ci-build.sh
@@ -133,7 +133,9 @@ EOL
133
else
134
scmURL=${scmURL%.git}
135
scmURL=${scmURL%/}
136
- if [ ! "$SIGNING_ASC" -o ! "$GPG_KEY_NAME" -o ! "$GPG_PASSPHRASE" -o ! "$MAVEN_PASS" -o ! "$OSSRH_PASS" ]; then
+ if [ "$NO_DEPLOY" ]; then
137
+ echo "No deploy -- the NO_DEPLOY flag is set"
138
+ elif [ ! "$SIGNING_ASC" -o ! "$GPG_KEY_NAME" -o ! "$GPG_PASSPHRASE" -o ! "$MAVEN_PASS" -o ! "$OSSRH_PASS" ]; then
139
echo "No deploy -- secure environment variables not available"
140
elif [ "$BUILD_REPOSITORY" -a "$BUILD_REPOSITORY" != "$scmURL" ]; then
141
echo "No deploy -- repository fork: $BUILD_REPOSITORY != $scmURL"
0 commit comments