commitizen
commitizen copied to clipboard
feat(bump): add --version-files-only and deprecate --files-only
This PR implements the changes requested in #1658.
Implements the historical recommendations described in #1640 (comment).
New Feature
- Added a new CLI flag:
--version-files-only - Updates only the files in
version_fileswithout creating a commit or tag
Deprecation
- Marked
--files-onlyas deprecated (to be removed in v5) - Added CLI and docs deprecation notices
Configuration Handling
- Supported legacy config key
files_onlyif present - Ensured backward compatibility until v5
Documentation Updates
- Updated bump.md to document
--version-files-only - Added deprecation note for
--files-only - Added historical note about old
files→version_files
Closes #1658
pls run though our pr checklist (you should see it upon PR creation) to pass the PR pipeline.
just quickly scanned through your changes, looks like you didn't run poetry lint or poetry format
All commit messages must meet our requirements. Run poetry all locally to identify any issues. Thanks :)