From 3e53e99aae1d6de6e63788525822fa9e8bf27bb9 Mon Sep 17 00:00:00 2001 From: Andy Xie Date: Tue, 22 May 2018 23:49:50 +0800 Subject: [PATCH] log bad format git 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 cac14eddb4a..5096ac3ab5e 100644 --- a/hack/lib/version.sh +++ b/hack/lib/version.sh @@ -99,7 +99,7 @@ kube::version::get_version_vars() { # If KUBE_GIT_VERSION is not a valid Semantic Version, then refuse to build. if ! [[ "${KUBE_GIT_VERSION}" =~ ^v([0-9]+)\.([0-9]+)(\.[0-9]+)?(-[0-9A-Za-z.-]+)?(\+[0-9A-Za-z.-]+)?$ ]]; then - echo "KUBE_GIT_VERSION should be a valid Semantic Version" + echo "KUBE_GIT_VERSION should be a valid Semantic Version. Current value: ${KUBE_GIT_VERSION}" echo "Please see more details here: https://semver.org" exit 1 fi