From 2e4a6de4e78f81a02913ec0a5d2a20e4ab6a1257 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=B8=96=E7=95=8C?= Date: Thu, 27 Mar 2025 20:30:57 +0800 Subject: [PATCH] release: Fix read tag --- cmd/internal/read_tag/main.go | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/cmd/internal/read_tag/main.go b/cmd/internal/read_tag/main.go index 0f426332..c4da1de5 100644 --- a/cmd/internal/read_tag/main.go +++ b/cmd/internal/read_tag/main.go @@ -27,11 +27,8 @@ func main() { ) if flagRunNightly { var version badversion.Version - version, err = build_shared.ReadTagVersionRev() + version, err = build_shared.ReadTagVersion() if err == nil { - if version.PreReleaseIdentifier == "" { - version.Patch++ - } versionStr = version.String() } } else {