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.
2 parents 91229f1 + 7d7318d commit 1a2b8e9Copy full SHA for 1a2b8e9
.circleci/deploy-docs.sh
@@ -2,8 +2,13 @@
2
3
set -e
4
5
-if [ "$CIRCLE_PROJECT_USERNAME" != "matplotlib" -o "$CIRCLE_BRANCH" != "master" -o "$CIRCLE_PULL_REQUEST" != "" ]; then
6
- echo "Not uploading docs from non-master branch or non-Matplotlib org."
+if [ "$CIRCLE_PROJECT_USERNAME" != "matplotlib" ] || \
+ [ "$CIRCLE_BRANCH" != "master" ] || \
7
+ [ "$CIRCLE_PULL_REQUEST" != "" ]; then
8
+ echo "Not uploading docs for ${CIRCLE_SHA1}"\
9
+ "from non-master branch (${CIRCLE_BRANCH})"\
10
+ "or pull request (${CIRCLE_PULL_REQUEST})"\
11
+ "or non-Matplotlib org (${CIRCLE_PROJECT_USERNAME})."
12
exit
13
fi
14
0 commit comments