From: SZEDER Gábor Date: Sun, 31 Dec 2017 10:12:03 +0000 (+0100) Subject: travis-ci: print the "tip of branch is exactly at tag" message in color X-Git-Tag: v2.16.0-rc2~14^2~2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=495ea6cd41216f16dfd5051e456fd86082d0593d;p=thirdparty%2Fgit.git travis-ci: print the "tip of branch is exactly at tag" message in color To make this info message stand out from the regular build job trace output. Signed-off-by: SZEDER Gábor Reviewed-by: Lars Schneider Signed-off-by: Junio C Hamano --- diff --git a/ci/lib-travisci.sh b/ci/lib-travisci.sh index 348fe3c3c1..9d379db8a0 100755 --- a/ci/lib-travisci.sh +++ b/ci/lib-travisci.sh @@ -16,7 +16,7 @@ skip_branch_tip_with_tag () { if TAG=$(git describe --exact-match "$TRAVIS_BRANCH" 2>/dev/null) && test "$TAG" != "$TRAVIS_BRANCH" then - echo "Tip of $TRAVIS_BRANCH is exactly at $TAG" + echo "$(tput setaf 2)Tip of $TRAVIS_BRANCH is exactly at $TAG$(tput sgr0)" exit 0 fi }