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>
SZEDER Gábor committed
Dec 31, 2017 at 11:12 UTC
495ea6cd41216f16dfd5051e456fd86082d0593d
1 file changed
+1
-1
ci/lib-travisci.sh
+1
-1
@@ -16,7 +16,7 @@ skip_branch_tip_with_tag () {
16
if TAG=$(git describe --exact-match "$TRAVIS_BRANCH" 2>/dev/null) &&
17
test "$TAG" != "$TRAVIS_BRANCH"
18
then
19
- echo "Tip of $TRAVIS_BRANCH is exactly at $TAG"
19
+ echo "$(tput setaf 2)Tip of $TRAVIS_BRANCH is exactly at $TAG$(tput sgr0)"
20
exit 0
21
fi
22
}