Skip to content

Doesn't respect settings file or arguments #279

@markfaine

Description

@markfaine

Command:

bump2version --verbose --no-commit --no-tag --dry-run --allow-dirty  patch /path/to/file

.bumpversion.cfg

[bumpversion]
current_version = 1.2.1
commit = False
tag = False

Output:

Would prepare Git commit
Would add changes in file '/path/to/file' to Git
Would add changes in file '.bumpversion.cfg' to Git
Would commit to Git with message 'Bump version: 1.2.1 → 1.2.2'
Would tag 'v1.2.2' with message 'Bump version: 1.2.1 → 1.2.2' in Git and not signing

Doesn't matter if the config has commit=False and tag=False or if you specify --no-tag and --no-commit` the output of the dry run still shows that it would do those things.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions