From 277ca559b3b03b011d9a9f12d7cf597edb232368 Mon Sep 17 00:00:00 2001 From: liujian <54946465+redscholar@users.noreply.github.com> Date: Wed, 18 Dec 2024 16:14:53 +0800 Subject: [PATCH] Update version.sh --- hack/version.sh | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) 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