From d5ea7ce9082aa65b9fa1071bb7a80ee0c6058e57 Mon Sep 17 00:00:00 2001 From: Nick Minkler Date: Mon, 23 Jun 2014 14:42:19 -0700 Subject: [PATCH] run mvn javadoc as part of the script since we don't want to build it as part of the normal mvn install --- .utility/do-publish.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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.'