Skip to content

Commit 495ea6c

Browse files
szedergitster
authored andcommitted
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 <[email protected]> Reviewed-by: Lars Schneider <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent 677c707 commit 495ea6c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ci/lib-travisci.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ skip_branch_tip_with_tag () {
1616
if TAG=$(git describe --exact-match "$TRAVIS_BRANCH" 2>/dev/null) &&
1717
test "$TAG" != "$TRAVIS_BRANCH"
1818
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)"
2020
exit 0
2121
fi
2222
}

0 commit comments

Comments
 (0)