diff --git a/.utility/do-publish.sh b/.utility/do-publish.sh index 3ec4e9f..b7adacb 100644 --- a/.utility/do-publish.sh +++ b/.utility/do-publish.sh @@ -1,6 +1,6 @@ #!/bin/bash -if [ "$TRAVIS_REPO_SLUG" != "MilkBowl/VaultAPI"] || [ "$TRAVIS_PULL_REQUEST" == "true" ] || [ "$TRAVIS_BRANCH" != "master" ] +if [[ "$TRAVIS_REPO_SLUG" != "MilkBowl/VaultAPI" || "$TRAVIS_PULL_REQUEST" == "true" || "$TRAVIS_BRANCH" != "master" ]] then echo 'Travis can only publish docs for release builds.' return 0