1
0
forked from x/icebergs
This commit is contained in:
shylinux 2021-09-14 22:37:07 +08:00
parent 93aa3ded87
commit b61ae87b9b

View File

@ -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)