File tree Expand file tree Collapse file tree 3 files changed +24
-40
lines changed Expand file tree Collapse file tree 3 files changed +24
-40
lines changed Original file line number Diff line number Diff line change 1- {{ if .Versions -}}
2- <a name =" unreleased " ></a >
3- ## [ Unreleased]
4-
5- {{ if .Unreleased.CommitGroups -}}
6- {{ range .Unreleased.CommitGroups -}}
7- ### {{ .Title }}
8- {{ range .Commits -}}
9- - {{ if .Scope }}** {{ .Scope }}:** {{ end }}{{ .Subject }}
10- {{ end }}
11- {{ end -}}
12- {{ end -}}
13- {{ end -}}
14-
151{{ range .Versions }}
162<a name =" {{ .Tag.Name }} " ></a >
17- ## {{ if .Tag.Previous }}[ {{ .Tag.Name }}] {{ else }}{{ .Tag.Name }}{{ end }} - {{ datetime "2006-01-02" .Tag.Date }}
3+ ## {{ if .Tag.Previous }}[ {{ .Tag.Name }}] ({{ $.Info.RepositoryURL }}/compare/{{ .Tag.Previous.Name }}...{{ .Tag.Name }}){{ else }}{{ .Tag.Name }}{{ end }} ({{ datetime "2006-01-02" .Tag.Date }})
4+
185{{ range .CommitGroups -}}
196### {{ .Title }}
7+
208{{ range .Commits -}}
21- - {{ if .Scope }}** {{ .Scope }}:** {{ end }}{{ .Subject }}
9+ * {{ .Subject }}
10+ * {{ if .Scope }}** {{ .Scope }}:** {{ end }}{{ .Subject }}
2211{{ end }}
2312{{ end -}}
2413
2514{{- if .NoteGroups -}}
2615{{ range .NoteGroups -}}
2716### {{ .Title }}
17+
2818{{ range .Notes }}
2919{{ .Body }}
3020{{ end }}
3121{{ end -}}
3222{{ end -}}
33- {{ end -}}
34-
35- {{- if .Versions }}
36- [ Unreleased] : {{ .Info.RepositoryURL }}/compare/{{ $latest := index .Versions 0 }}{{ $latest.Tag.Name }}...HEAD
37- {{ range .Versions -}}
38- {{ if .Tag.Previous -}}
39- [ {{ .Tag.Name }}] : {{ $.Info.RepositoryURL }}/compare/{{ .Tag.Previous.Name }}...{{ .Tag.Name }}
40- {{ end -}}
41- {{ end -}}
4223{{ end -}}
Original file line number Diff line number Diff line change @@ -2,21 +2,21 @@ style: github
22template : CHANGELOG.tpl.md
33info :
44 title : CHANGELOG
5- repository_url : https://github.com/craicoverflow/install-git-chglog
5+ repository_url : https://github.com/redhat-developer/app-services-cli
66options :
7+ tag_filter_pattern : ' ^[0-9]+\.[0-9]+\.[0-9]+$'
78 commits :
8- # filters:
9- # Type:
10- # - feat
11- # - fix
12- # - perf
13- # - refactor
9+ filters :
10+ Type :
11+ - feat
12+ - fix
13+ - perf
1414 commit_groups :
15- # title_maps:
16- # feat: Features
17- # fix: Bug Fixes
18- # perf: Performance Improvements
19- # refactor: Code Refactoring
15+ title_maps :
16+ feat : Features
17+ fix : Bug Fixes
18+ perf : Performance Improvements
19+ refactor : Code Refactoring
2020 header :
2121 pattern : " ^(\\ w*)(?:\\ (([\\ w\\ $\\ .\\ -\\ *\\ s]*)\\ ))?\\ :\\ s(.*)$"
2222 pattern_maps :
Original file line number Diff line number Diff line change 1- name : Generate a CHANGELOG
1+ name : Build
22on :
33 push :
44 branches :
@@ -13,11 +13,14 @@ jobs:
1313 - name : Checkout code
1414 uses : actions/checkout@v2
1515 with :
16- fetch-depth : 0
16+ fetch-depth : 1
1717 -
1818 name : Generate a CHANGELOG
1919 run : |
20+ alias git-tag='git tag'
2021 git-chglog -o CHANGELOG.md
2122 - uses : stefanzweifel/git-auto-commit-action@v4
2223 with :
23- branch : dev
24+ branch : dev
25+ file_pattern : CHANGELOG.md
26+ commit_message : ' chore: update CHANGELOG'
You can’t perform that action at this time.
0 commit comments