Skip to content

[feature] Check the consistency of commitizen version and versions in version_file #174

@Lee-W

Description

@Lee-W

Currently, this checking behavior does not work when --dry-run is passed. The reason is that reading version in version and writing version to file is implemented in the same function (i.e. commitizen/bump.py::update_version_in_files)

TODO

  • Separate the read step and write step in commitizen/bump.py::update_version_in_files
  • fix the error that checking consistency is not performed when passing --dry-run

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions