Skip to content

Commit

Permalink
ignore: changelog
Browse files Browse the repository at this point in the history
  • Loading branch information
lightszentip committed Dec 22, 2022
1 parent 34abdc6 commit 3d9d258
Showing 1 changed file with 40 additions and 0 deletions.
40 changes: 40 additions & 0 deletions cliff.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
# configuration file for git-cliff (0.1.0)

[changelog]
header = "# Changelog\n"
body = """
{% if version %}\
## [{{ version | replace(from="v", to="") }}] - {{ timestamp | date(format="%Y-%m-%d") }}
{% else %}\
## [unreleased]
{% endif %}\
{% for group, commits in commits | group_by(attribute="group") %}
### {{ group | upper_first }}
{% for group, commits in commits | group_by(attribute="scope") %}\
#### {{ group }}\
{% for commit in commits %}
- {{ commit.message | upper_first }}\
{% endfor %}
{% endfor %}\
{% endfor %}\n
"""
trim=true
footer = "<!-- generated by git-cliff -->\n"

[git]
conventional_commits = true

commit_parsers = [
{ message = "^feat", group = "Features"},
{ message = "^fix", group = "Bug Fixes"},
{ message = "^doc", group = "Documentation"},
{ message = "^perf", group = "Performance"},
{ message = "^refactor", group = "Refactor"},
{ message = "^test", group = "Test"},
{ message = "^style", group = "Styling"},
{ message = "^test", group = "Testing"},
{ message = "^chore\\(release\\): prepare for", skip = true},
{ message = "^chore", group = "Miscellaneous Tasks"},
{ body = ".*security", group = "Security"},

tag_pattern = "[0-9]*"

0 comments on commit 3d9d258

Please sign in to comment.