We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ca52b47 commit 2e16216Copy full SHA for 2e16216
1 file changed
ci-build.sh
@@ -95,7 +95,7 @@ EOL
95
echo "Output of failed attempt follows:"
96
echo "$scmURL"
97
else
98
- if [ ! "$SIGNING_ASC" ] || [ ! "$GPG_KEY_NAME" ] || [ ! "$GPG_PASSPHRASE" ] || [ ! "$MAVEN_PASS" ] || [ ! "$OSSRH_PASS" ]; then
+ if [ ! "$SIGNING_ASC" -o ! "$GPG_KEY_NAME" -o ! "$GPG_PASSPHRASE" -o ! "$MAVEN_PASS" -o ! "$OSSRH_PASS" ]; then
99
echo "No deploy -- secure environment variables not available"
100
elif [ "$BUILD_REPOSITORY" -a "$BUILD_REPOSITORY" != "$scmURL" ]; then
101
echo "No deploy -- repository fork: $BUILD_REPOSITORY != $scmURL"
0 commit comments