From e830b5390b7ea6f23362c3dbd0f0359a53c5760c Mon Sep 17 00:00:00 2001 From: Jonathan MacMillan Date: Tue, 5 Dec 2017 19:00:16 -0800 Subject: [PATCH] Fix a comment in hack/lib/version.sh about which tags are used to get the version. --- hack/lib/version.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hack/lib/version.sh b/hack/lib/version.sh index 0df161e37c6..23111d51d3c 100644 --- a/hack/lib/version.sh +++ b/hack/lib/version.sh @@ -62,7 +62,7 @@ kube::version::get_version_vars() { fi fi - # Use git describe to find the version based on annotated tags. + # Use git describe to find the version based on tags. if [[ -n ${KUBE_GIT_VERSION-} ]] || KUBE_GIT_VERSION=$("${git[@]}" describe --tags --abbrev=14 "${KUBE_GIT_COMMIT}^{commit}" 2>/dev/null); then # This translates the "git describe" to an actual semver.org # compatible semantic version that looks something like this: