|
|
@ -157,13 +157,14 @@ func ParseCommitsInfo(info []CommitInfo) string { |
|
|
|
case "other": |
|
|
|
case "other": |
|
|
|
text = "### Others\n" |
|
|
|
text = "### Others\n" |
|
|
|
} |
|
|
|
} |
|
|
|
if len(value) > 0 { |
|
|
|
if len(value) == 0 { |
|
|
|
|
|
|
|
continue |
|
|
|
|
|
|
|
} |
|
|
|
md[key] += text |
|
|
|
md[key] += text |
|
|
|
for _, value := range value { |
|
|
|
for _, value := range value { |
|
|
|
md[key] += fmt.Sprintf("- %s\n", value) |
|
|
|
md[key] += fmt.Sprintf("- %s\n", value) |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
return fmt.Sprint(md["break"], md["deps"], md["feat"], md["fix"], md["chore"], md["other"]) |
|
|
|
return fmt.Sprint(md["break"], md["deps"], md["feat"], md["fix"], md["chore"], md["other"]) |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|