mirror of
https://github.com/git/git
synced 2024-10-30 04:01:21 +00:00
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>
This commit is contained in:
parent
677c70799c
commit
495ea6cd41
1 changed files with 1 additions and 1 deletions
|
@ -16,7 +16,7 @@ skip_branch_tip_with_tag () {
|
||||||
if TAG=$(git describe --exact-match "$TRAVIS_BRANCH" 2>/dev/null) &&
|
if TAG=$(git describe --exact-match "$TRAVIS_BRANCH" 2>/dev/null) &&
|
||||||
test "$TAG" != "$TRAVIS_BRANCH"
|
test "$TAG" != "$TRAVIS_BRANCH"
|
||||||
then
|
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
|
exit 0
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue