diff --git a/.utility/do-publish.sh b/.utility/do-publish.sh index db39010..0c81bc4 100644 --- a/.utility/do-publish.sh +++ b/.utility/do-publish.sh @@ -1,6 +1,8 @@ #!/bin/bash - current_dir=`pwd` + +mvn javadoc:javadoc + if [[ "$TRAVIS_REPO_SLUG" != "MilkBowl/VaultAPI" || "$TRAVIS_PULL_REQUEST" == "true" || "$TRAVIS_BRANCH" != "master" ]] then echo 'Travis can only publish docs for release builds.'