From 451fa425e9460f93060a56c38ba4585b2f27ce88 Mon Sep 17 00:00:00 2001 From: a_teammate Date: Sun, 12 Nov 2017 22:55:34 +0100 Subject: [PATCH] fix(travis/auto_tag): invert return value of need_new_tag --- tool/travis.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tool/travis.sh b/tool/travis.sh index 400619e8a..5d236266d 100755 --- a/tool/travis.sh +++ b/tool/travis.sh @@ -59,13 +59,13 @@ external_pull_request() { # there already is a tag on the specified commit. need_new_tag() { if test -n "$TRAVIS_TAG"; then - true + false else export current_tag=`git tag --contains` if test -n "$current_tag"; then - true - else false + else + true fi fi }