fix: fix git-chglog template to format changelog Type nicely (#803)

This commit is contained in:
Thierno IB. BARRY
2020-03-17 15:29:59 +01:00
committed by GitHub
parent 3c064aa2a9
commit a6583a3371

View File

@@ -14,14 +14,14 @@ project adheres to [Semantic Versioning](http://semver.org/).
{{ range .Commits -}}
{{- if .Subject -}}
- {{ if .Scope }}**{{ .Scope }}:** {{ end }}{{ .Subject }}
{{- end -}}
{{ end -}}
{{ end }}
{{ end -}}
{{ else }}
{{ range .Unreleased.Commits -}}
{{- if .Subject -}}
- {{ if .Scope }}**{{ .Scope }}:** {{ end }}{{ .Subject }}
{{- end -}}
{{ end -}}
{{ end }}
{{ end -}}
{{ end -}}
@@ -35,14 +35,14 @@ project adheres to [Semantic Versioning](http://semver.org/).
{{ range .Commits -}}
{{- if .Subject -}}
- {{ if .Scope }}**{{ .Scope }}:** {{ end }}{{ .Subject }}
{{- end -}}
{{ end -}}
{{ end }}
{{ end -}}
{{ else }}
{{ range .Commits -}}
{{- if .Subject -}}
- {{ if .Scope }}**{{ .Scope }}:** {{ end }}{{ .Subject }}
{{- end -}}
{{ end -}}
{{ end }}
{{ end -}}