Repository navigation
ci: release the version the code declares, and bump to 0.10.0 - #40
Merged
Merged
Conversation
Release asked for a version, then bumped and committed to main itself. It now reads the version from the code and never edits the repository. It refuses a version already on PyPI or tagged and a commit whose CI has not passed, smoke-tests the built files, and tags only once PyPI serves exactly those files. CI fails any PR whose three version files disagree. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01FsfCCsg5iwEbDuxnFqiQoB
The Release workflow no longer sets the version, so it is set here. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01FsfCCsg5iwEbDuxnFqiQoB
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Release now publishes the version the code declares, the same way Haute does. It used to ask for a version in a form, then bump it and commit to
mainitself.mainonly.contents: read; only the tagging job can write.pyproject.tomland both crates'Cargo.toml.scripts/check_release_version.pynow runs on every PR and fails if they disagree.Two differences from Haute: the three version files above, and dry runs are allowed on any branch, which is the only way to test a change to this workflow before merging it.
Releasing from now on
uv version --bump minor --no-sync(orpatch/major), set the same version incrates/rustystats/Cargo.tomlandcrates/rustystats-core/Cargo.toml, and add the version's section toCHANGELOG.md.main.Verification
🤖 Generated with Claude Code
https://claude.ai/code/session_01FsfCCsg5iwEbDuxnFqiQoB