Skip to content

Commit

Permalink
Redirect stderr to /dev/null to suppress make command warnings (#1964)
Browse files Browse the repository at this point in the history
  • Loading branch information
kishen-v authored Sep 18, 2024
1 parent 8317371 commit 840837d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hack/version.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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}")
}

Expand Down

0 comments on commit 840837d

Please sign in to comment.