Skip to content

[IMPROVEMENT] When using git.requireCommits with @release-it/conventional-changelog, it should consider only relevant commits #1217

@mdvorak

Description

@mdvorak

When using @release-it/conventional-changelog, release notes gets populated only with relevant commits (e.g. chore commits are omitted).

However when git.requireCommits is set to true, it produces a release with empty changelog, because release-it internally checks whole commit history, before passing it to plugins.

Expected behavior

When @release-it/conventional-changelog is configured and git.requireCommits=true, it should fail when no relevant commit is present, even if commit history is not empty.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions