Skip to content

Commit

Permalink
chore: Add and reorder commits in CHANGELOG
Browse files Browse the repository at this point in the history
Closes: #2460
Signed-off-by: Michael Gasch <mgasch@vmware.com>
  • Loading branch information
Michael Gasch committed May 24, 2021
1 parent e7a657d commit 54bd6c4
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .chglog/CHANGELOG.tpl.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,15 +8,15 @@
### {{ .Title }}

{{ range .Commits -}}
- {{ .Subject }}
- [{{ .Hash.Short }}]{{"\t"}}{{ .Subject }}
{{ end }}
{{ end -}}

{{- if .RevertCommits -}}
### ⏮ Reverts

{{ range .RevertCommits -}}
- {{ .Revert.Header }}
- [{{ .Hash.Short }}]{{"\t"}}{{ .Revert.Header }}
{{ end }}
{{ end -}}

Expand All @@ -35,7 +35,7 @@
{{ range .Commits -}}
{{ if not .Merge -}}
{{ if not (contains .Header "Update CHANGELOG for" ) -}}
- {{ .Header }} [{{ .Hash.Short }}]
- [{{ .Hash.Short }}]{{"\t"}}{{ .Header }}
{{ end -}}
{{ end -}}
{{ end -}}
Expand Down

0 comments on commit 54bd6c4

Please sign in to comment.