Skip to content

Commit

Permalink
build: update cliff config files
Browse files Browse the repository at this point in the history
  • Loading branch information
favna committed May 7, 2022
1 parent bef1754 commit 6312dd8
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 18 deletions.
2 changes: 1 addition & 1 deletion packages/tagscript-plugin-discord/cliff.toml
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ commit_parsers = [
{ body = ".*security", group = "πŸ›‘οΈ Security"},
]
filter_commits = true
tag_pattern = "tagscript@[0-9]*"
tag_pattern = "tagscript-plugin-discord@[0-9]*"
ignore_tags = ""
topo_order = false
sort_commits = "newest"
37 changes: 20 additions & 17 deletions packages/tagscript/cliff.toml
Original file line number Diff line number Diff line change
Expand Up @@ -20,13 +20,16 @@ body = """
{% for group, commits in commits | group_by(attribute="group") %}
## {{ group | upper_first }}
{% for commit in commits %}
- {% if commit.breaking %}\
[**breaking**] \
{% endif %}\
{% if commit.scope %}\
**{{commit.scope}}:** \
{% endif %}\
- {% if commit.scope %}\
**{{commit.scope}}:** \
{% endif %}\
{{ commit.message | upper_first }} ([{{ commit.id | truncate(length=7, end="") }}](https://github.com/imranbarbhuiya/tagscript/commit/{{ commit.id }}))\
{% if commit.breaking %}}\
\n\n {% raw %} {% endraw %} ### πŸ’₯ Breaking Changes:\n \
{% for breakingChange in commit.footers %}\
{% raw %} {% endraw %} - {{ breakingChange }}\n\
{% endfor %}\
{% endif %}\
{% endfor %}
{% endfor %}\n
"""
Expand All @@ -37,21 +40,21 @@ footer = ""
conventional_commits = true
filter_unconventional = true
commit_parsers = [
{ message = "^feat", group = "Features"},
{ message = "^fix", group = "Bug Fixes"},
{ message = "^docs", group = "Documentation"},
{ message = "^perf", group = "Performance"},
{ message = "^refactor", group = "Refactor"},
{ message = "^typings", group = "Typings"},
{ message = "^types", group = "Typings"},
{ message = ".*deprecated", body = ".*deprecated", group = "Deprecation"},
{ message = "^feat", group = "πŸš€ Features"},
{ message = "^fix", group = "πŸ› Bug Fixes"},
{ message = "^docs", group = "πŸ“ Documentation"},
{ message = "^perf", group = "πŸƒ Performance"},
{ message = "^refactor", group = "🏠 Refactor"},
{ message = "^typings", group = "⌨️ Typings"},
{ message = "^types", group = "⌨️ Typings"},
{ message = ".*deprecated", body = ".*deprecated", group = "🚨 Deprecation"},
{ message = "^revert", skip = true},
{ message = "^style", group = "Styling"},
{ message = "^test", group = "Testing"},
{ message = "^style", group = "πŸͺž Styling"},
{ message = "^test", group = "πŸ§ͺ Testing"},
{ message = "^chore", skip = true},
{ message = "^ci", skip = true},
{ message = "^build", skip = true},
{ body = ".*security", group = "Security"},
{ body = ".*security", group = "πŸ›‘οΈ Security"},
]
filter_commits = true
tag_pattern = "tagscript@[0-9]*"
Expand Down

0 comments on commit 6312dd8

Please sign in to comment.