From fcd5e5d9e3ee5975868e569474566e90c6bf6cba Mon Sep 17 00:00:00 2001 From: Daniel Nelson Date: Tue, 22 Aug 2017 13:32:52 -0700 Subject: [PATCH] Hide output of git describe --- scripts/circle-test.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/circle-test.sh b/scripts/circle-test.sh index b05fa7420..eb2df00e3 100755 --- a/scripts/circle-test.sh +++ b/scripts/circle-test.sh @@ -69,7 +69,7 @@ exit_if_fail ./telegraf -config $tmpdir/config.toml \ gzip telegraf -c > "$CIRCLE_ARTIFACTS/telegraf.gz" -if git describe --exact-match HEAD; then +if git describe --exact-match HEAD 2>&1 >/dev/null; then # install fpm (packaging dependency) exit_if_fail gem install fpm # install boto & rpm (packaging & AWS dependencies)