Skip to content

Add support for scoped changelog generation: cz changelog --scope myscope #530

Open
@W1M0R

Description

@W1M0R

Description

Consider a monorepo with multiple projects (e.g. proja and projb), each project with its own .cz.toml file. Commits are scoped according to project, e.g:

fix(proja): some fix in proja
fix(projb): some fix in projb

The changelog for proja, should ignore all commits except those scoped with proja.

Possible Solution

This could be achieved by setting scope = proja in the proja/.cz.toml file, or by running cz changelog --scope proja. This means that only commit messages with the specified scope will be considered when generating the changelog.

Additional context

No response

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions