ignore PRs in versioning

This commit is contained in:
Jack Humbert 2017-02-16 10:06:02 -05:00
parent e34c3936b7
commit 15dc540cac

View file

@ -7,7 +7,7 @@ rev=$(git rev-parse --short HEAD)
git config --global user.name "Travis CI"
git config --global user.email "jack.humb+travis.ci@gmail.com"
if [[ "$TRAVIS_BRANCH" == "master" ]] ; then
if [[ "$TRAVIS_BRANCH" == "master" ]] && [[ "$TRAVIS_PULL_REQUEST" == "false"]] ; then
increment_version ()
{