Skip to content

Not incrementing version on all lines inside setup.cfg #87

@fastfailures

Description

@fastfailures

Having a setup.cfg with:

[metadata]
version = 0.1.0

[bumpversion]
current_version = 0.1.0

[bumpversion:file:setup.cfg]

With the command bump2version minor the result is:

[bumpversion]
current_version = 0.2.0

[metadata]
version = 0.1.0

[bumpversion:file:setup.cfg]

As you can see only current_version is updated, and the section [bumpversion] it's moved to te top of the file (this doesn't bother me too much)

bump2version version is 0.5.11

Thank you

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions