[PATCHv2 1/3] travis-ci: print the "tip of branch is exactly at tag" message in color
- From
SZEDER Gábor <szeder.dev@gmail.com>
- Date
- Dec 31, 2017, 10:12 UTC
- Message-ID
- <20171231101205.7466-2-szeder.dev@gmail.com>
- In-Reply-To
- <20171231101205.7466-1-szeder.dev@gmail.com>
To make this info message stand out from the regular build job trace output.
Signed-off-by: SZEDER Gábor <szeder.dev@gmail.com> --- ci/lib-travisci.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/ci/lib-travisci.sh b/ci/lib-travisci.sh index 348fe3c3c..9d379db8a 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 }
-- 2.16.0.rc0.67.g3a46dbca7