mirror of
https://github.com/thegeeklab/wait-for.git
synced 2024-11-22 12:20:39 +00:00
improve changelog template
This commit is contained in:
parent
b68e5cc674
commit
064696b222
@ -6,13 +6,9 @@
|
|||||||
{{ range .CommitGroups -}}
|
{{ range .CommitGroups -}}
|
||||||
### {{ .Title }}
|
### {{ .Title }}
|
||||||
|
|
||||||
{{ $subjects := list }}
|
|
||||||
{{ range .Commits -}}
|
{{ range .Commits -}}
|
||||||
{{ if not (has .Subject $subjects) -}}
|
- {{ if .Scope }}**{{ .Scope }}:** {{ end }}{{ (regexReplaceAll "(Co-\\w*-by.*)" .Subject "") | trim }}
|
||||||
- {{ if .Scope }}**{{ .Scope }}:** {{ end }}{{ .Subject }}
|
|
||||||
{{ $subjects = append $subjects .Subject -}}
|
|
||||||
{{ end }}
|
{{ end }}
|
||||||
{{- end }}
|
|
||||||
{{- end -}}
|
{{- end -}}
|
||||||
|
|
||||||
{{- if .NoteGroups -}}
|
{{- if .NoteGroups -}}
|
||||||
|
Loading…
Reference in New Issue
Block a user