Skip to content

Conversation

@2509abhi
Copy link

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_files without creating a commit or tag

Deprecation

  • Marked --files-only as deprecated (to be removed in v5)
  • Added CLI and docs deprecation notices

Configuration Handling

  • Supported legacy config key files_only if 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 filesversion_files

Closes #1658

@bearomorphism
Copy link
Contributor

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

@Lee-W
Copy link
Member

Lee-W commented Nov 20, 2025

All commit messages must meet our requirements. Run poetry all locally to identify any issues. Thanks :)


create_file_and_commit("feat: another new feature")
testargs = ["cz", "bump", "--yes", "--files-only"]
testargs = ["cz", "bump", "--yes", "--files-only","--version-files-only"]
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
testargs = ["cz", "bump", "--yes", "--files-only","--version-files-only"]
testargs = ["cz", "bump", "--yes", "--files-only", "--version-files-only"]

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think we should also have --version-files-only cases

@Lee-W Lee-W changed the base branch from master to v4-11-0 November 20, 2025 01:11
@Lee-W Lee-W added this to the 4.11.0 milestone Nov 20, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Rename the option cz bump --files-only to --version-files-only

3 participants