.chglog/CHANGELOG.tpl.md aktualisiert
This commit is contained in:
@ -1 +1,44 @@
|
|||||||
des
|
{{ 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 := printf "%s" .Hash }}
|
||||||
|
{{ $short := (print (index $hash 0) (index $hash 1) (index $hash 2) (index $hash 3) (index $hash 4) (index $hash 5) (index $hash 6)) }}
|
||||||
|
* {{ if .Scope }}**{{ .Scope }}:** {{ end }}{{ .Subject }} ([{{ $short }}]({{ $.Info.RepositoryURL }}/commit/{{ $hash }}))
|
||||||
|
{{ end }}
|
||||||
|
{{ end }}
|
||||||
|
|
||||||
|
{{- if .RevertCommits -}}
|
||||||
|
### Reverts
|
||||||
|
|
||||||
|
{{ range .RevertCommits -}}
|
||||||
|
{{ $hash := printf "%s" .Hash }}
|
||||||
|
{{ $short := (print (index $hash 0) (index $hash 1) (index $hash 2) (index $hash 3) (index $hash 4) (index $hash 5) (index $hash 6)) }}
|
||||||
|
* {{ .Revert.Header }} ([{{ $short }}]({{ $.Info.RepositoryURL }}/commit/{{ $hash }}))
|
||||||
|
{{ end }}
|
||||||
|
{{ end }}
|
||||||
|
|
||||||
|
{{- if .MergeCommits -}}
|
||||||
|
### Pull Requests
|
||||||
|
|
||||||
|
{{ range .MergeCommits -}}
|
||||||
|
{{ $hash := printf "%s" .Hash }}
|
||||||
|
{{ $short := (print (index $hash 0) (index $hash 1) (index $hash 2) (index $hash 3) (index $hash 4) (index $hash 5) (index $hash 6)) }}
|
||||||
|
* {{ .Header }} ([{{ $short }}]({{ $.Info.RepositoryURL }}/commit/{{ $hash }}))
|
||||||
|
{{ end }}
|
||||||
|
{{ end }}
|
||||||
|
|
||||||
|
{{- if .NoteGroups -}}
|
||||||
|
{{ range .NoteGroups -}}
|
||||||
|
### {{ .Title }}
|
||||||
|
|
||||||
|
{{ range .Notes }}
|
||||||
|
{{ .Body }}
|
||||||
|
{{ end }}
|
||||||
|
{{ end }}
|
||||||
|
{{ end }}
|
||||||
|
{{ end }}
|
||||||
|
Reference in New Issue
Block a user