mirror of
https://github.com/ysoftdevs/terraform-aws-eks.git
synced 2026-03-26 19:31:06 +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 }}:
|
{{ .Title }}:
|
||||||
{{ range .Commits -}}
|
{{ range .Commits -}}
|
||||||
{{- if .Subject -}}
|
{{- if .Subject -}}
|
||||||
- {{ if .Scope }}**{{ .Scope }}:** {{ end }}{{ .Subject }}
|
- {{ if .Scope }}**{{ .Scope }}:** {{ end }}{{ .Subject | upperFirst }}
|
||||||
{{ end -}}
|
{{ end -}}
|
||||||
{{ end }}
|
{{ end }}
|
||||||
{{ end -}}
|
{{ end -}}
|
||||||
{{ else }}
|
{{ else }}
|
||||||
{{ range .Unreleased.Commits -}}
|
{{ range .Unreleased.Commits -}}
|
||||||
{{- if .Subject -}}
|
{{- if .Subject -}}
|
||||||
- {{ if .Scope }}**{{ .Scope }}:** {{ end }}{{ .Subject }}
|
- {{ if .Scope }}**{{ .Scope }}:** {{ end }}{{ .Subject | upperFirst}}
|
||||||
{{ end -}}
|
{{ end -}}
|
||||||
{{ end }}
|
{{ end }}
|
||||||
{{ end -}}
|
{{ end -}}
|
||||||
@@ -43,14 +43,14 @@ project adheres to [Semantic Versioning](http://semver.org/).
|
|||||||
{{ .Title }}:
|
{{ .Title }}:
|
||||||
{{ range .Commits -}}
|
{{ range .Commits -}}
|
||||||
{{- if .Subject -}}
|
{{- if .Subject -}}
|
||||||
- {{ if .Scope }}**{{ .Scope }}:** {{ end }}{{ .Subject }}
|
- {{ if .Scope }}**{{ .Scope }}:** {{ end }}{{ .Subject | upperFirst }}
|
||||||
{{ end -}}
|
{{ end -}}
|
||||||
{{ end }}
|
{{ end }}
|
||||||
{{ end -}}
|
{{ end -}}
|
||||||
{{ else }}
|
{{ else }}
|
||||||
{{ range .Commits -}}
|
{{ range .Commits -}}
|
||||||
{{- if .Subject -}}
|
{{- if .Subject -}}
|
||||||
- {{ if .Scope }}**{{ .Scope }}:** {{ end }}{{ .Subject }}
|
- {{ if .Scope }}**{{ .Scope }}:** {{ end }}{{ .Subject | upperFirst }}
|
||||||
{{ end -}}
|
{{ end -}}
|
||||||
{{ end }}
|
{{ end }}
|
||||||
{{ end -}}
|
{{ end -}}
|
||||||
|
|||||||
@@ -18,7 +18,15 @@ options:
|
|||||||
|
|
||||||
commit_groups:
|
commit_groups:
|
||||||
group_by: Type
|
group_by: Type
|
||||||
sort_by: Type
|
sort_by: Custom
|
||||||
|
title_order:
|
||||||
|
- feat
|
||||||
|
- improvement
|
||||||
|
- refactor
|
||||||
|
- fix
|
||||||
|
- docs
|
||||||
|
- test
|
||||||
|
- ci
|
||||||
title_maps:
|
title_maps:
|
||||||
feat: FEATURES
|
feat: FEATURES
|
||||||
fix: BUG FIXES
|
fix: BUG FIXES
|
||||||
|
|||||||
4
Makefile
4
Makefile
@@ -8,10 +8,10 @@ TAG_QUERY=v11.0.0..
|
|||||||
scope ?= "minor"
|
scope ?= "minor"
|
||||||
|
|
||||||
changelog-unrelease:
|
changelog-unrelease:
|
||||||
git-chglog -o $(CHANGELOG_FILE) $(TAG_QUERY)
|
git-chglog --no-case -o $(CHANGELOG_FILE) $(TAG_QUERY)
|
||||||
|
|
||||||
changelog:
|
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:
|
release:
|
||||||
$(SEMTAG) final -s $(scope)
|
$(SEMTAG) final -s $(scope)
|
||||||
|
|||||||
Reference in New Issue
Block a user