From b61ae87b9bddd3e1e87f0119568c560f813b6a84 Mon Sep 17 00:00:00 2001 From: shylinux Date: Tue, 14 Sep 2021 22:37:07 +0800 Subject: [PATCH] opt some --- misc/git/total.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/misc/git/total.go b/misc/git/total.go index b1bf869c..f0c828a8 100644 --- a/misc/git/total.go +++ b/misc/git/total.go @@ -57,6 +57,7 @@ func init() { }) m.Push("name", "total") + m.Push("tags", "v3.0.0") m.Push("days", days) m.Push("commit", commit) m.Push("adds", adds) @@ -139,6 +140,7 @@ func init() { } if total { + m.Push("tags", m.Cmdx(cli.SYSTEM, GIT, "describe", "--tags")) m.Push("days", int(total_day.Hours())/24) m.Push("commit", count) m.Push("adds", count_add)