diff --git a/.chglog/CHANGELOG.tpl.md b/.chglog/CHANGELOG.tpl.md index 89bd274..e5333ad 100755 --- a/.chglog/CHANGELOG.tpl.md +++ b/.chglog/CHANGELOG.tpl.md @@ -1,12 +1,17 @@ {{ with index .Versions 0 }} -## {{ if .Tag.Previous }}[{{ .Tag.Name }}]({{ $.Info.RepositoryURL }}/compare/{{ .Tag.Previous.Name }}...{{ .Tag.Name }}){{ else }}{{ .Tag.Name }}{{ end }} ({{ datetime "2006-01-02" .Tag.Date }}) +## {{ if .Tag.Previous }} + [{{ .Tag.Name }}]({{ $.Info.RepositoryURL }}/compare/{{ .Tag.Previous.Name }}...{{ .Tag.Name }}) +{{ else }} + {{ .Tag.Name }} +{{ end }} ({{ datetime "2006-01-02" .Tag.Date }}) {{ range .CommitGroups -}} ### {{ .Title }} {{ range .Commits -}} -* {{ if .Scope }}**{{ .Scope }}:** {{ end }}{{ .Subject }} +* {{ if .Scope }}**{{ .Scope }}:** {{ end }}{{ .Subject }} + [{{ .Hash | truncate 7 }}]({{ $.Info.RepositoryURL }}/commit/{{ .Hash }}) {{ end }} {{ end -}}