Skip to content

create a dev bump straight after a normal bump #662

Closed
@12rambau

Description

@12rambau

Description

In projects I'm working in (the ones that are not yet using commitizen) maintainers are bumping a dev version straight after the bump of a new one. That ensures that the version number of the current master/main branch is not the same as the latest release.

I wanted to use the new --devrelease option of the bump command for that purpose but as there are no changes to report since the last version, it's not working and the bump fail.

Do you think it would be doable or is it a workflow that you don't want to cover?

Steps to reproduce

cz bump
cz bump --devrelease 0

Current behavior

bump fails

Desired behavior

bump succeed (bonus point if nothing is written to the changelog file)

Screenshots

No response

Environment

cz version: master (as I still have an issue with my name convention and didn't find the time to work on #463)

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