Skip to content

Commit 840837d

Browse files
authored
Redirect stderr to /dev/null to suppress make command warnings (#1964)
1 parent 8317371 commit 840837d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

hack/version.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ version::get_version_vars() {
7171
fi
7272
fi
7373

74-
GIT_RELEASE_TAG=$(git describe --abbrev=0 --tags)
74+
GIT_RELEASE_TAG=$(git describe --abbrev=0 --tags 2>/dev/null)
7575
GIT_RELEASE_COMMIT=$(git rev-list -n 1 "${GIT_RELEASE_TAG}")
7676
}
7777

0 commit comments

Comments
 (0)