From e03f8268ca636b217782af3d1e9db895dc7be663 Mon Sep 17 00:00:00 2001 From: yystopf Date: Mon, 19 Jan 2026 17:13:54 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=94=B9=EF=BC=9A=E8=BF=94=E5=9B=9Eta?= =?UTF-8?q?g=E5=8E=BB=E9=99=A4=E5=89=8D=E7=BC=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- main.go | 2 +- modules/convert/convert.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/main.go b/main.go index 2a95a1a..aa7955a 100644 --- a/main.go +++ b/main.go @@ -22,7 +22,7 @@ import ( ) var ( - Version = "v2.8.7, by v1.21.0, 20251201 " + Version = "v2.8.8, by v1.21.0, 20260119 " Tags = "" MakeVersion = "" ) diff --git a/modules/convert/convert.go b/modules/convert/convert.go index 873e314..25a6fc3 100644 --- a/modules/convert/convert.go +++ b/modules/convert/convert.go @@ -23,7 +23,7 @@ func ToTag(repo *repo.Repository, gitRepo *git.Repository, t *git.Tag) (tag *api return &api.Tag{}, err } return &api.Tag{ - Name: t.Name, + Name: strings.TrimPrefix(t.Name, git.TagPrefix), Message: strings.TrimSpace(t.Message), ID: t.ID.String(), Commit: tagCommit,