Skip to content

Attach the wheel to GitHub releases and document releasing - #2

Merged
iharhl merged 1 commit into
mainfrom
ci/release-wheel
Nov 3, 2026
Merged

iharhl merged 1 commit into
mainfrom
ci/release-wheel

Conversation

@iharhl

@iharhl iharhl commented Nov 3, 2026 •

Copy link
Copy Markdown
Owner

Summary

  • New release.yml, run when a GitHub release is published:
    1. fails if the tag (without v) differs from the pyproject.toml version
    2. runs pytest
    3. uv build → wheel and sdist
    4. installs the wheel in a clean venv and runs memmap guide and memmap check from it
    5. uploads both files to the release with gh release upload --clobber
  • New RELEASING.md: bumping the version through a PR, publishing the release, what the workflow does, installing a release, and recovering from failures.
  • README: install a release wheel with pipx (no uv or checkout needed), and a link to RELEASING.md under Develop.
  • ci.yml renamed to default.yml. Job names (test (3.10), test (3.13), build) are unchanged, so the main ruleset's required checks still match.

Test plan

  • actionlint passes on both workflows
  • Tag/version check, uv build and the wheel smoke test pass locally
  • uv run pytest: 406 passed
  • Checks pass on this PR

🤖 Generated with Claude Code

Publishing a GitHub release now runs release.yml: it checks that the tag
matches the pyproject version, runs pytest, builds the wheel and sdist,
smoke-tests the wheel in a clean venv and uploads both to the release.

RELEASING.md describes the procedure, and the README shows how to install
a release wheel with pipx. The pull request workflow is renamed from
ci.yml to default.yml; its job names, which the main ruleset requires,
are unchanged.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@iharhl
iharhl merged commit ad0116c into main Nov 3, 2026
3 checks passed
@iharhl
iharhl deleted the ci/release-wheel branch November 3, 2026 22:36
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.

1 participant