45 lines
1.1 KiB
Markdown
Executable File
45 lines
1.1 KiB
Markdown
Executable File
{{ with index .Versions 0 }}
|
|
<a name="{{ .Tag.Name }}"></a>
|
|
## {{ 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 -}}
|
|
{{ $hash := .Hash }}
|
|
{{ $short := printf "%.7s" $hash }}
|
|
* {{ if .Scope }}**{{ .Scope }}:** {{ end }}{{ .Subject }} ([{{ $short }}]({{ $.Info.RepositoryURL }}/commit/{{ $hash }}))
|
|
{{ end }}
|
|
{{ end }}
|
|
|
|
{{- if .RevertCommits -}}
|
|
### Reverts
|
|
|
|
{{ range .RevertCommits -}}
|
|
{{ $hash := .Hash }}
|
|
{{ $short := printf "%.7s" $hash }}
|
|
* {{ .Revert.Header }} ([{{ $short }}]({{ $.Info.RepositoryURL }}/commit/{{ $hash }}))
|
|
{{ end }}
|
|
{{ end }}
|
|
|
|
{{- if .MergeCommits -}}
|
|
### Pull Requests
|
|
|
|
{{ range .MergeCommits -}}
|
|
{{ $hash := .Hash }}
|
|
{{ $short := printf "%.7s" $hash }}
|
|
* {{ .Header }} ([{{ $short }}]({{ $.Info.RepositoryURL }}/commit/{{ $hash }}))
|
|
{{ end }}
|
|
{{ end }}
|
|
|
|
{{- if .NoteGroups -}}
|
|
{{ range .NoteGroups -}}
|
|
### {{ .Title }}
|
|
|
|
{{ range .Notes }}
|
|
{{ .Body }}
|
|
{{ end }}
|
|
{{ end }}
|
|
{{ end }}
|
|
{{ end }}
|