Skip to content

Commit

Permalink
chore: fix broken cliff.
Browse files Browse the repository at this point in the history
  • Loading branch information
fky2015 committed Mar 22, 2024
1 parent 390267a commit f87c2a0
Showing 1 changed file with 3 additions and 9 deletions.
12 changes: 3 additions & 9 deletions cliff.toml
Original file line number Diff line number Diff line change
Expand Up @@ -28,15 +28,9 @@ body = """
{% else %}\
## [unreleased]
{% endif %}\
{% if previous %}\
{% if previous.commit_id %}
[{{ previous.commit_id | truncate(length=7, end="") }}](https://github.com/BITNP/BIThesis/commit/{{ previous.commit_id }})...\
[{{ commit_id | truncate(length=7, end="") }}](https://github.com/BITNP/BIThesis/commit/{{ commit_id }})
{% endif %}\
{% endif %}\
{% for group, commits in commits | group_by(attribute="group") %}
### {{ group | striptags | trim | upper_first }}
{% for commit in commits %}
{% for commit in commits | filter(attribute="merge_commit", value=false) %}
- {% if commit.scope %}*({{ commit.scope }})* {% endif %}\
{% if commit.breaking %}[**breaking**] {% endif %}\
{{ commit.message | upper_first }} ([{{ commit.id | truncate(length=7, end="") }}](https://github.com/BITNP/BIThesis/commit/{{ commit.id }}))\
Expand All @@ -59,7 +53,7 @@ conventional_commits = true
# filter out the commits that are not conventional
filter_unconventional = true
# process each line of a commit as an individual commit
split_commits = false
split_commits = true
# regex for preprocessing the commit messages
commit_preprocessors = [
# Replace issue numbers
Expand Down Expand Up @@ -89,7 +83,7 @@ commit_parsers = [
# protect breaking changes from being skipped due to matching a skipping commit_parser
protect_breaking_commits = false
# filter out the commits that are not matched by commit parsers
filter_commits = false
filter_commits = true
# regex for matching git tags
# tag_pattern = "v[0-9].*"
# regex for skipping tags
Expand Down

0 comments on commit f87c2a0

Please sign in to comment.