File tree Expand file tree Collapse file tree 1 file changed +37
-24
lines changed
Expand file tree Collapse file tree 1 file changed +37
-24
lines changed Original file line number Diff line number Diff line change @@ -4,6 +4,7 @@ type ChangelogType struct {
44 Type string
55 Text string
66 Content string
7+ Emoji string
78}
89
910type ChangelogTypes []ChangelogType
@@ -30,51 +31,63 @@ func (ct *ChangelogTypes) AppendContent(cType, content string) {
3031
3132var defaultTypes = ChangelogTypes {
3233 {
33- Type : "%%bc%%" ,
34- Text : "Breaking Changes" ,
34+ Type : "%%bc%%" ,
35+ Text : "Breaking Changes" ,
36+ Emoji : "π£" ,
3537 },
3638 {
37- Type : "feat" ,
38- Text : "Feature" ,
39+ Type : "feat" ,
40+ Text : "Feature" ,
41+ Emoji : "π" ,
3942 },
4043 {
41- Type : "fix" ,
42- Text : "Bug Fixes" ,
44+ Type : "fix" ,
45+ Text : "Bug Fixes" ,
46+ Emoji : "π" ,
4347 },
4448 {
45- Type : "revert" ,
46- Text : "Reverts" ,
49+ Type : "revert" ,
50+ Text : "Reverts" ,
51+ Emoji : "π" ,
4752 },
4853 {
49- Type : "perf" ,
50- Text : "Performance Improvements" ,
54+ Type : "perf" ,
55+ Text : "Performance Improvements" ,
56+ Emoji : "π" ,
5157 },
5258 {
53- Type : "docs" ,
54- Text : "Documentation" ,
59+ Type : "docs" ,
60+ Text : "Documentation" ,
61+ Emoji : "π" ,
5562 },
5663 {
57- Type : "test" ,
58- Text : "Tests" ,
64+ Type : "test" ,
65+ Text : "Tests" ,
66+ Emoji : "π" ,
5967 },
6068 {
61- Type : "refactor" ,
62- Text : "Code Refactoring" ,
69+ Type : "refactor" ,
70+ Text : "Code Refactoring" ,
71+ Emoji : "π" ,
6372 },
6473 {
65- Type : "style" ,
66- Text : "Styles" ,
74+ Type : "style" ,
75+ Text : "Styles" ,
76+ Emoji : "π¨" ,
6777 },
6878 {
69- Type : "chore" ,
70- Text : "Chores" ,
79+ Type : "chore" ,
80+ Text : "Chores" ,
81+ Emoji : "π§" ,
7182 },
7283 {
73- Type : "build" ,
74- Text : "Build" ,
84+ Type : "build" ,
85+ Text : "Build" ,
86+ Emoji : "π¦" ,
7587 },
7688 {
77- Type : "ci" ,
78- Text : "CI" ,
89+ Type : "ci" ,
90+ Text : "CI" ,
91+ Emoji : "π" ,
7992 },
8093}
You canβt perform that action at this time.
0 commit comments