Thanks to visit codestin.com Credit goes to github.com
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 a56da39 commit 7d7318dCopy full SHA for 7d7318d
1 file changed
.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