From e627d3c6a427c523548743c393b4c1187f0eb2c9 Mon Sep 17 00:00:00 2001 From: Ye Ding Date: Sat, 17 Dec 2022 00:13:54 +0800 Subject: [PATCH] Fix command to fetch latest stable version (#11782) (#11787) --- hack/workspace_status.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hack/workspace_status.sh b/hack/workspace_status.sh index dbc4623b1..6d690896b 100755 --- a/hack/workspace_status.sh +++ b/hack/workspace_status.sh @@ -6,4 +6,4 @@ echo STABLE_GIT_COMMIT "$(git rev-parse HEAD)" echo DATE "$(date --rfc-3339=seconds --utc)" echo DATE_UNIX "$(date --utc +%s)" echo DOCKER_TAG "$(git rev-parse --abbrev-ref HEAD)-$(git rev-parse --short=6 HEAD)" -echo STABLE_GIT_TAG "$(git describe --tags "$(git rev-list --tags --max-count=1)")" +echo STABLE_GIT_TAG "$(git describe --tags --abbrev=0)"