Skip to content
Discussion options

You must be logged in to vote

As far as I know, git_cliff_core::Commit does not define a breaking field. With that in mind, I would expect this configuration to cause a FieldError for every commit, resulting in nothing being rendered in the changelog.
Under the configuration you shared, it seems that all commits should trigger a FieldError, so I'm a bit confused about how the grouping you described would occur. Could you clarify?

My config works.

$ cat cliff.toml
[git]
conventional_commits = true
filter_unconventional = false
require_conventional = false
commit_parsers = [
    { field = "breaking", pattern = "true", group = "breaking changes" },
    { message = "^.*", group = "other" },
]
$ git log --oneline
5cb0213…

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
2 replies
@GideonBear
Comment options

Answer selected by ognis1205
@ognis1205
Comment options

Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants