File tree Expand file tree Collapse file tree 3 files changed +44
-37
lines changed Expand file tree Collapse file tree 3 files changed +44
-37
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
-
15
1
{{ range .Versions }}
16
2
<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
+
18
5
{{ range .CommitGroups -}}
19
6
### {{ .Title }}
7
+
20
8
{{ range .Commits -}}
21
- - {{ if .Scope }}** {{ .Scope }}:** {{ end }}{{ .Subject }}
9
+ * {{ .Subject }}
10
+ * {{ if .Scope }}** {{ .Scope }}:** {{ end }}{{ .Subject }}
22
11
{{ end }}
23
12
{{ end -}}
24
13
25
14
{{- if .NoteGroups -}}
26
15
{{ range .NoteGroups -}}
27
16
### {{ .Title }}
17
+
28
18
{{ range .Notes }}
29
19
{{ .Body }}
30
20
{{ end }}
31
21
{{ end -}}
32
22
{{ 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 -}}
42
23
{{ end -}}
Original file line number Diff line number Diff line change @@ -2,21 +2,21 @@ style: github
2
2
template : CHANGELOG.tpl.md
3
3
info :
4
4
title : CHANGELOG
5
- repository_url : https://github.com/craicoverflow/install-git-chglog
5
+ repository_url : https://github.com/redhat-developer/app-services-cli
6
6
options :
7
+ tag_filter_pattern : ' ^[0-9]+\.[0-9]+\.[0-9]+$'
7
8
commits :
8
- # filters:
9
- # Type:
10
- # - feat
11
- # - fix
12
- # - perf
13
- # - refactor
9
+ filters :
10
+ Type :
11
+ - feat
12
+ - fix
13
+ - perf
14
14
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
20
20
header :
21
21
pattern : " ^(\\ w*)(?:\\ (([\\ w\\ $\\ .\\ -\\ *\\ s]*)\\ ))?\\ :\\ s(.*)$"
22
22
pattern_maps :
Original file line number Diff line number Diff line change
1
+ name : Build
2
+ on :
3
+ push :
4
+ branches :
5
+ - main
6
+ jobs :
7
+ package :
8
+ runs-on : ubuntu-latest
9
+ steps :
10
+ - name : Checkout code
11
+ uses : actions/checkout@v2
12
+ with :
13
+ fetch-depth : 0
14
+
15
+ -
16
+ name : Install git-chglog
17
+ uses :
craicoverflow/[email protected]
18
+ -
19
+ name : Generate a CHANGELOG
20
+ run : git-chglog -o CHANGELOG.md
21
+
22
+ - uses : stefanzweifel/git-auto-commit-action@v4
23
+ with :
24
+ branch : main
25
+ file_pattern : CHANGELOG.md
26
+ commit_message : ' chore: update CHANGELOG'
You can’t perform that action at this time.
0 commit comments