Skip to content

Conversation

@jpchauvel
Copy link
Contributor

@jpchauvel jpchauvel commented Sep 6, 2025

  • fixing bump-version.py
  • bump version to 0.2.5

Summary by CodeRabbit

  • Chores
    • Bumped version to 0.2.5.
    • Improved release automation for versioning, tagging, and pushing, reducing manual steps and potential errors.
  • Refactor
    • Simplified the internal version bump process by adopting a CLI-driven workflow, improving reliability and maintainability.
  • Notes
    • No user-facing functionality changes in this release.

@coderabbitai
Copy link

coderabbitai bot commented Sep 6, 2025

Caution

Review failed

The pull request is closed.

Walkthrough

Replaced in-script TOML/JSON version bumping with UV CLI commands; script now bumps via uv, reads the new version, stages/commits uv.lock and pyproject.toml, tags, and pushes. Removed the internal bump_version function and TOML I/O. Updated pyproject.toml version from 0.2.4 to 0.2.5.

Changes

Cohort / File(s) Summary
Version bump automation
bin/bump-version.py
Switched to subprocess-based UV workflow: runs uv version --bump patch, reads uv version --short, stages uv.lock and pyproject.toml, commits, tags v{version}, and pushes. Removed bump_version() and TOML read/write logic.
Packaging metadata
pyproject.toml
Bumped [project] version from 0.2.4 to 0.2.5; no other metadata changes.

Sequence Diagram(s)

sequenceDiagram
  autonumber
  actor Dev as Developer
  participant Script as bump-version.py
  participant UV as UV CLI
  participant Git as Git (local)
  participant Remote as Remote repo

  Dev->>Script: Run script
  Script->>UV: uv version --bump patch
  UV-->>Script: Exit status
  Script->>UV: uv version --short
  UV-->>Script: New version (e.g., 0.2.5)

  Script->>Git: git add uv.lock pyproject.toml
  Script->>Git: git commit -m "bump version to {version}"
  Script->>Git: git tag v{version}
  Script->>Remote: git push --tags

  note over Script,Git: No direct TOML parsing/writing in script
Loading

Estimated code review effort

🎯 3 (Moderate) | ⏱️ ~20 minutes

Poem

I twitch my nose at versions’ climb,
Hop, hop—UV bumps right on time.
No toml nibbling in the night,
Just tags and commits, tidy and light.
v0.2.5—carrot-high five! 🥕🐇


📜 Recent review details

Configuration used: CodeRabbit UI

Review profile: CHILL

Plan: Pro

💡 Knowledge Base configuration:

  • MCP integration is disabled by default for public repositories
  • Jira integration is disabled by default for public repositories
  • Linear integration is disabled by default for public repositories

You can enable these sources in your CodeRabbit configuration.

📥 Commits

Reviewing files that changed from the base of the PR and between 0315096 and b2f601d.

⛔ Files ignored due to path filters (1)
  • uv.lock is excluded by !**/*.lock
📒 Files selected for processing (2)
  • bin/bump-version.py (1 hunks)
  • pyproject.toml (1 hunks)
✨ Finishing Touches
  • 📝 Generate Docstrings
🧪 Generate unit tests
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch hotfix

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@jpchauvel jpchauvel merged commit ca20628 into main Sep 6, 2025
1 of 2 checks passed
@jpchauvel jpchauvel deleted the hotfix branch September 6, 2025 01:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants