| name | release |
| description | How to prepare and publish GitHub releases for prime-rl. Use when drafting release notes, tagging versions, or publishing releases. |
Releases
Releases are driven by .github/workflows/tag-and-release.yaml. The flow:
- You create a draft GitHub Release with the notes inline (
gh release create --draft).
- You open a draft PR that bumps
version in pyproject.toml.
- Maintainer merges. The workflow tags the commit, builds the
prime-kernels wheels and
attaches them to the draft, then promotes it.
Release notes live on the GitHub Release, not in the repo. Prime-rl is not on PyPI. .dev tags are handled separately by devx_tag.yaml; tag-and-release.yaml ignores them.
1. Decide the version
git fetch origin --tags
grep '^version' pyproject.toml
gh release list --repo PrimeIntellect-ai/prime-rl --limit 5
SemVer (MAJOR.MINOR.PATCH). Confirm with the user before continuing.
2. Draft the notes
Match the prior release's structure: numbered highlights (# 1., ...), then # Breaking Changes, # Bug Fixes, # Misc, # Contributors. Use ## subsections inside a highlight when it bundles multiple items.
PREV=$(gh release list --limit 1 --json tagName --jq )
gh release view --json body --jq .body
git ..origin/main --oneline --no-merges
gh list --base main --state merged --search \
\
-- 500 --json number,title,author