Skip to content

Using --changelog regenerates the full changelog instead of just the current increment #1024

Closed
@edgarrmondragon

Description

@edgarrmondragon

Description

Starting with v3.18.1, using --changelog generates the full catalog instead of only prepending the changes for the current increment.

This can be seen even in the GitHub release notes of commitizen itself starting with v3.18.2: they now include the full changelog.

Steps to reproduce

For example:

cz --no-raise 21 bump --yes --changelog --files-only --check-consistency --changelog-to-stdout >_changelog_fragment.md

Current behavior

The full changelog is regenerated instead of just the current increment.

Desired behavior

Only generate the current increment section of the changelog.

Screenshots

Screenshot 2024-03-13 at 2 06 46 p m

Environment

  • commitizen version: 3.18.3
  • python version: Python 3.12.2
  • operating system: Darwin

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