Skip to content

Commit

Permalink
maint/build ~ CHANGELOG template changes
Browse files Browse the repository at this point in the history
  • Loading branch information
rivy committed Oct 10, 2023
1 parent 37379ad commit 36171bb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .changelog/CHANGELOG.tpl.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{{- /* <!-- markdownlint-disable --><!-- spellchecker:ignore markdownlint --> */ -}}

{{- define "format-commit" -}}
* {{ if .Scope }}{{ .Type }} *({{ .Scope }})*: {{ .Subject }}{{ else }}{{ .Header }}{{ end }} &ac; [`{{ .Hash.Short }}`]({{ commitURL .Hash.Long }})
* {{ if .Scope }}{{ .Type | smartLowerFirstWord }} *({{ .Scope }})*: {{ .Subject | smartLowerFirstWord }}{{ else }}{{ .Header | smartLowerFirstWord }}{{ end }} &ac; [`{{ .Hash.Short }}`]({{ commitURL .Hash.Long }})
{{ end -}}

{{- define "format-commit-group" }}
Expand Down Expand Up @@ -30,7 +30,7 @@
## [Unreleased]
{{ range .Unreleased.CommitGroups }}{{ template "format-commit-group" . }}{{ end -}}
{{ end }}
<div class="prefix"></div>
<div id='last-line-of-prefix'></div>
{{- $first := true }}{{ range .Versions }}

---
Expand Down

0 comments on commit 36171bb

Please sign in to comment.