mirror of
https://github.com/ysoftdevs/terraform-aws-eks.git
synced 2026-01-16 16:47:20 +01:00
docs: Update changelog generation to use custom sort with git-chglog v0.10.0 (#1202)
This commit is contained in:
committed by
GitHub
parent
84a3761742
commit
a8c402bb0e
@@ -13,14 +13,14 @@ project adheres to [Semantic Versioning](http://semver.org/).
|
||||
{{ .Title }}:
|
||||
{{ range .Commits -}}
|
||||
{{- if .Subject -}}
|
||||
- {{ if .Scope }}**{{ .Scope }}:** {{ end }}{{ .Subject }}
|
||||
- {{ if .Scope }}**{{ .Scope }}:** {{ end }}{{ .Subject | upperFirst }}
|
||||
{{ end -}}
|
||||
{{ end }}
|
||||
{{ end -}}
|
||||
{{ else }}
|
||||
{{ range .Unreleased.Commits -}}
|
||||
{{- if .Subject -}}
|
||||
- {{ if .Scope }}**{{ .Scope }}:** {{ end }}{{ .Subject }}
|
||||
- {{ if .Scope }}**{{ .Scope }}:** {{ end }}{{ .Subject | upperFirst}}
|
||||
{{ end -}}
|
||||
{{ end }}
|
||||
{{ end -}}
|
||||
@@ -43,14 +43,14 @@ project adheres to [Semantic Versioning](http://semver.org/).
|
||||
{{ .Title }}:
|
||||
{{ range .Commits -}}
|
||||
{{- if .Subject -}}
|
||||
- {{ if .Scope }}**{{ .Scope }}:** {{ end }}{{ .Subject }}
|
||||
- {{ if .Scope }}**{{ .Scope }}:** {{ end }}{{ .Subject | upperFirst }}
|
||||
{{ end -}}
|
||||
{{ end }}
|
||||
{{ end -}}
|
||||
{{ else }}
|
||||
{{ range .Commits -}}
|
||||
{{- if .Subject -}}
|
||||
- {{ if .Scope }}**{{ .Scope }}:** {{ end }}{{ .Subject }}
|
||||
- {{ if .Scope }}**{{ .Scope }}:** {{ end }}{{ .Subject | upperFirst }}
|
||||
{{ end -}}
|
||||
{{ end }}
|
||||
{{ end -}}
|
||||
|
||||
@@ -18,7 +18,15 @@ options:
|
||||
|
||||
commit_groups:
|
||||
group_by: Type
|
||||
sort_by: Type
|
||||
sort_by: Custom
|
||||
title_order:
|
||||
- feat
|
||||
- improvement
|
||||
- refactor
|
||||
- fix
|
||||
- docs
|
||||
- test
|
||||
- ci
|
||||
title_maps:
|
||||
feat: FEATURES
|
||||
fix: BUG FIXES
|
||||
|
||||
4
Makefile
4
Makefile
@@ -8,10 +8,10 @@ TAG_QUERY=v11.0.0..
|
||||
scope ?= "minor"
|
||||
|
||||
changelog-unrelease:
|
||||
git-chglog -o $(CHANGELOG_FILE) $(TAG_QUERY)
|
||||
git-chglog --no-case -o $(CHANGELOG_FILE) $(TAG_QUERY)
|
||||
|
||||
changelog:
|
||||
git-chglog -o $(CHANGELOG_FILE) --next-tag `$(SEMTAG) final -s $(scope) -o -f` $(TAG_QUERY)
|
||||
git-chglog --no-case -o $(CHANGELOG_FILE) --next-tag `$(SEMTAG) final -s $(scope) -o -f` $(TAG_QUERY)
|
||||
|
||||
release:
|
||||
$(SEMTAG) final -s $(scope)
|
||||
|
||||
Reference in New Issue
Block a user