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