Skip to content

Conversation

@ryoppippi
Copy link
Member

@ryoppippi ryoppippi commented Jan 22, 2026

Summary

  • Remove Update version in __init__.py step from release workflow
  • Remove update-version target from justfile
  • Delete scripts/update_version.py

Release-please already updates __init__.py version in the release PR (see #117), making this step redundant.

Test plan


Summary by cubic

Removed the redundant version update step from the release workflow and tooling. Release-please already updates init.py, so this removes duplicate logic.

  • Refactors
    • Delete scripts/update_version.py
    • Remove update-version target from justfile
    • Drop "Update version in init.py" step from .github/workflows/release.yaml

Written for commit 6ec7908. Summary will update on new commits.

Release-please already updates __init__.py version in the release PR,
making the update-version script and workflow step redundant.

- Remove update-version step from release workflow
- Remove update-version target from justfile
- Delete scripts/update_version.py
Copilot AI review requested due to automatic review settings January 22, 2026 11:09
@ryoppippi ryoppippi merged commit 4cfbee1 into main Jan 22, 2026
19 checks passed
@ryoppippi ryoppippi deleted the refactor/remove-redundant-version-update branch January 22, 2026 11:10
Copy link

@cubic-dev-ai cubic-dev-ai bot left a comment

Choose a reason for hiding this comment

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

No issues found across 3 files

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR simplifies the release process by removing a redundant version update step that is already handled by release-please.

Changes:

  • Remove scripts/update_version.py, which manually synced __init__.__version__ and refreshed uv.lock.
  • Remove the update-version recipe from justfile.
  • Remove the "Update version in init.py" step from the release GitHub Actions workflow.

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated no comments.

File Description
scripts/update_version.py Deletes the custom version-sync script now made redundant by release-please.
justfile Removes the update-version task that invoked the deleted script.
.github/workflows/release.yaml Removes the post-release step that ran just update-version, relying on release-please and the existing uv.lock update step instead.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

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