commit | 0170ebdcdc8886faa54f43351ff639117de98533 | [log] [tgz] |
---|---|---|
author | Thiago Macieira <thiago.macieira@intel.com> | Tue Jan 30 15:01:23 2018 -0800 |
committer | Thiago Macieira <thiago.macieira@intel.com> | Tue Jan 30 15:01:23 2018 -0800 |
tree | b61182f90b80231f42cbd99ad46cf6f250a0c1b8 | |
parent | 803c048a8a32363efc4671379d0d5fdc8d428adb [diff] [blame] |
Fix the docs script when operating with a tag, in Travis Signed-off-by: Thiago Macieira <thiago.macieira@intel.com>
diff --git a/scripts/update-docs.sh b/scripts/update-docs.sh index 4b822c7..b35db14 100755 --- a/scripts/update-docs.sh +++ b/scripts/update-docs.sh
@@ -1,6 +1,6 @@ #!/bin/sh -ex -case "$TRAVIS_BRANCH,$TRAVIS_PULL_REQUEST" in - dev,false|master,false) +case "$TRAVIS_BRANCH${TRAVIS_TAG+tag:$TRAVIS_TAG},$TRAVIS_PULL_REQUEST" in + dev,false|master,false|tag:*) ;; *) exit 0