diff --git a/hack/version.sh b/hack/version.sh index 5484d1c8577..36635e9f3eb 100755 --- a/hack/version.sh +++ b/hack/version.sh @@ -18,7 +18,6 @@ KUBE_GIT_TREE_STATE="" KUBE_GIT_VERSION="" KUBE_GIT_MAJOR="" KUBE_GIT_MINOR="" -KUBE_GIT_RELEASE_COMMIT="" SOURCE_DATE_EPOCH="" version_get_version_vars() { @@ -72,12 +71,11 @@ version() { "gitTreeState": "%s", "gitMajor": "%s", "gitMinor": "%s", - "gitVersion": "%s", - "gitReleaseCommit": "%s" + "gitVersion": "%s" }\n' \ - "$buildDate" "$KUBE_GIT_COMMIT" "$KUBE_GIT_TREE_STATE" "$KUBE_GIT_MAJOR" "$KUBE_GIT_MINOR" "$KUBE_GIT_VERSION" "$KUBE_GIT_RELEASE_COMMIT" + "$buildDate" "$KUBE_GIT_COMMIT" "$KUBE_GIT_TREE_STATE" "$KUBE_GIT_MAJOR" "$KUBE_GIT_MINOR" "$KUBE_GIT_VERSION" } if [ "$(basename "$0")" = "version.sh" ]; then version -fi \ No newline at end of file +fi