.chglog/CHANGELOG.tpl.md aktualisiert
This commit is contained in:
@ -6,28 +6,28 @@
|
||||
### {{ .Title }}
|
||||
|
||||
{{ range .Commits -}}
|
||||
* {{ if .Scope }}**{{ .Scope }}:** {{ end }}{{ .Subject }}
|
||||
[{{ .Hash.String | printf "%.7s" }}]({{ $.Info.RepositoryURL }}/commit/{{ .Hash.String }})
|
||||
{{ $hash := printf "%s" .Hash }}
|
||||
* {{ if .Scope }}**{{ .Scope }}:** {{ end }}{{ .Subject }} ([{{ slice $hash 0 7 }}]({{ $.Info.RepositoryURL }}/commit/{{ $hash }}))
|
||||
{{ end }}
|
||||
{{ end }}
|
||||
{{ end -}}
|
||||
|
||||
{{- if .RevertCommits -}}
|
||||
### Reverts
|
||||
|
||||
{{ range .RevertCommits -}}
|
||||
* {{ .Revert.Header }}
|
||||
[{{ .Hash | printf "%.7s" }}]({{ $.Info.RepositoryURL }}/commit/{{ .Hash }})
|
||||
{{ $hash := printf "%s" .Hash }}
|
||||
* {{ .Revert.Header }} ([{{ slice $hash 0 7 }}]({{ $.Info.RepositoryURL }}/commit/{{ $hash }}))
|
||||
{{ end }}
|
||||
{{ end }}
|
||||
{{ end -}}
|
||||
|
||||
{{- if .MergeCommits -}}
|
||||
### Pull Requests
|
||||
|
||||
{{ range .MergeCommits -}}
|
||||
* {{ .Header }}
|
||||
[PR #{{ .PullRequestNumber }}]({{ $.Info.RepositoryURL }}/pull/{{ .PullRequestNumber }})
|
||||
{{ $hash := printf "%s" .Hash }}
|
||||
* {{ .Header }} ([{{ slice $hash 0 7 }}]({{ $.Info.RepositoryURL }}/commit/{{ $hash }}))
|
||||
{{ end }}
|
||||
{{ end }}
|
||||
{{ end -}}
|
||||
|
||||
{{- if .NoteGroups -}}
|
||||
{{ range .NoteGroups -}}
|
||||
@ -36,6 +36,6 @@
|
||||
{{ range .Notes }}
|
||||
{{ .Body }}
|
||||
{{ end }}
|
||||
{{ end -}}
|
||||
{{ end -}}
|
||||
{{ end }}
|
||||
{{ end }}
|
||||
{{ end }}
|
||||
|
Reference in New Issue
Block a user