diff --git a/scripts/merge.sh b/scripts/merge.sh index 8036df6f13c1..2c2111a2e0f4 100755 --- a/scripts/merge.sh +++ b/scripts/merge.sh @@ -23,6 +23,9 @@ if [[ "${TRAVIS_BRANCH}" == "master" ]] && \ [[ "${TRAVIS_PULL_REQUEST}" == "false" ]]; then scripts/update_docs.sh scripts/update_wheels_project.sh +elif [[ -n "${TRAVIS_TAG}" ]]; then + echo "Building new docs on a tag." + scripts/update_docs.sh else echo "Not in master on a non-pull request. Doing nothing." fi