Skip to content

Commit

Permalink
Making sure new docs get built on tags.
Browse files Browse the repository at this point in the history
A tag is not associated with a branch inherently so
TRAVIS_BRANCH == master is the wrong check.
  • Loading branch information
dhermes committed Feb 14, 2015
1 parent f64fc55 commit 706768b
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions scripts/merge.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 706768b

Please sign in to comment.