From 840837d161d54a51a907f7c606adcba629957a82 Mon Sep 17 00:00:00 2001 From: Kishen V Date: Wed, 18 Sep 2024 15:33:39 +0530 Subject: [PATCH] Redirect stderr to /dev/null to suppress make command warnings (#1964) --- hack/version.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hack/version.sh b/hack/version.sh index 119cc6fa9..da2d210b5 100755 --- a/hack/version.sh +++ b/hack/version.sh @@ -71,7 +71,7 @@ version::get_version_vars() { fi fi - GIT_RELEASE_TAG=$(git describe --abbrev=0 --tags) + GIT_RELEASE_TAG=$(git describe --abbrev=0 --tags 2>/dev/null) GIT_RELEASE_COMMIT=$(git rev-list -n 1 "${GIT_RELEASE_TAG}") }