From 6174cdb579aef228ddbc0866f1e037c76d0ebb53 Mon Sep 17 00:00:00 2001 From: Dan Albert Date: Wed, 15 Jul 2020 21:22:51 -0600 Subject: [PATCH] Always pass affected file check on tagged release (#11089) Co-authored-by: publish-docs.sh --- .travis/affects.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.travis/affects.sh b/.travis/affects.sh index 0d6bf3882..a667a56b0 100755 --- a/.travis/affects.sh +++ b/.travis/affects.sh @@ -3,6 +3,11 @@ # Check if files in the commit range match one or more prefixes # +# Always run the job if we are on a tagged release +if [[ -n "$TRAVIS_TAG" ]]; then + exit 0 +fi + ( set -x git diff --name-only "$TRAVIS_COMMIT_RANGE"