summaryrefslogtreecommitdiff
path: root/ci
diff options
context:
space:
mode:
authorSZEDER Gábor <szeder.dev@gmail.com>2017-12-31 10:12:03 (GMT)
committerJunio C Hamano <gitster@pobox.com>2018-01-02 19:25:55 (GMT)
commit495ea6cd41216f16dfd5051e456fd86082d0593d (patch)
treeb1c55577441b342ac524ad9d1607a326513d25f6 /ci
parent677c70799c70a4e176ff3743c7daafe5193b7b2c (diff)
downloadgit-495ea6cd41216f16dfd5051e456fd86082d0593d.zip
git-495ea6cd41216f16dfd5051e456fd86082d0593d.tar.gz
git-495ea6cd41216f16dfd5051e456fd86082d0593d.tar.bz2
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 <szeder.dev@gmail.com> Reviewed-by: Lars Schneider <larsxschneider@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'ci')
-rwxr-xr-xci/lib-travisci.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/ci/lib-travisci.sh b/ci/lib-travisci.sh
index 348fe3c..9d379db 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
}