Link to build with example of bug: Travis CI - Test and Deploy with Confidence
In the documentation, the TRAVIS_BRANCH environment variable should be equal to the TRAVIS_TAG when the build is triggered by a tag:
for builds triggered by a tag, this is the same as the name of the tag (
Link to documentation section: Environment Variables - Travis CI
In the build linked above, the two variable are different, despite the build being triggered by a tag. Builds that we ran last week did not exhibit this behaviour.