Skip to content

Enable "--merge-prerelease" behavior in "cz bump" command #1934

@crimoniv

Description

@crimoniv

Description

Currently, the --merge-prerelease option is only available in the cz changelog command, even though both changelog and bump respect the changelog_merge_prerelease = true setting.

It would be great to enable/disable changelog_merge_prerelease when calling cz bump in combination with update_changelog_on_bump = true/--changelog. This way, we could get incremental changelogs for every prerelease and a full changelog when bumping to a non-prerelease version.

Possible Solution

Add a --(changelog-)merge-prerelease flag to the cz bump command, mirroring the existing option in cz changelog, to override/set the changelog_merge_prerelease setting.

Additional context

No response

Related issues

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