Skip to content

Commit

Permalink
fix: fix git-chglog template to format changelog Type nicely (#803)
Browse files Browse the repository at this point in the history
  • Loading branch information
barryib authored Mar 17, 2020
1 parent 3c064aa commit a6583a3
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .chglog/CHANGELOG.tpl.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 -}}
Expand All @@ -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 -}}

Expand Down

0 comments on commit a6583a3

Please sign in to comment.