Release LilRAE¶
Use this guide to promote reviewed changes and release the Python package.
Release Please owns versions and CHANGELOG.md. Do not edit either by hand.
Use the release contract for title rules, baseline files, and publisher identities.
Per PR (all contributors / agents)¶
- Give the PR one Conventional Commit type and optional scope.
- Use a lowercase subject. Do not combine types such as
fix(...) + docs:. - Deliver feature PRs to
devthrough its squash merge queue. - Keep the repository's squash commit message blank, so the PR title becomes the commit subject.
- Do not add a manual changelog or version edit.
ADR-068 explains the queue and release-history constraints.
Promoting dev to main¶
Feature PRs normally land on dev.
For the milestone 44 Go-port exception, follow CI verification.
- Open the promotion PR:
- Confirm its source is
dev, target ismain, and title ischore(main): promote dev. - Wait for its required checks and obtain the user's approval before merging into
main. - Merge the promotion with a merge commit. Do not squash it.
The merge commit preserves feature subjects for Release Please.
The promotion also triggers the main-branch Scorecard workflow.
Use the title reference for GitHub's exact Dev fallback.
How a release happens¶
- Find the Release Please PR on
main, titledchore(main): release X.Y.Z. - Keep its head commit fixed while qualifying the candidate.
- Build its wheel and sdist from that exact commit.
- Have a person complete every row of release candidate manual QA.
- Test the exact wheel and a clean checkout of the same commit.
- Link the completed, redacted record from the release PR.
- If the commit or an artifact changes, repeat both installation paths from clean state.
- Merge the release PR only after the human QA record passes and merge approval is present.
The bot-created release PR might not trigger checks, or its runs might need approval. Do not assume its required checks will run automatically. The existing release procedure uses an administrator merge for this PR. A PAT integration is needed if maintainers choose to enforce those checks automatically.
The merge creates the version tag and GitHub Release. The publish job builds artifacts, generates an SBOM, records provenance, and publishes through PyPI OIDC. It rebuilds at publish time. A later package installation does not prove identity with the tested candidate bytes. For byte-identical promotion, change the release design to publish tested artifacts instead of rebuilding them.
After publication:
- Find the automatic
maintodevback-merge PR. - Confirm its title is
chore: back-merge <tag> into dev. - Obtain the user's merge approval.
- Use an administrator merge with Create a merge commit, outside the queue.
- Do not squash the back-merge or assume bot-triggered checks will run.
The merge commit retains the release commit in dev history.
A squash can make the next promotion replay the version bump and conflict.
Baseline¶
Use the baseline reference. Do not copy a current version into this guide.
PyPI trusted publisher (one-time)¶
- Confirm
raesis already available on PyPI. - Open the
lilraeproject's Settings, then Publishing. - Set the trusted publisher to the recorded identity.
- Before a new project's first release, add that identity under Account, then Publishing, as a pending publisher.
- Confirm the first upload creates the intended project.
Do not substitute other names; PyPI matches them against the OIDC token.
Seat image cuts¶
Follow the seat image procedure. Preserve actual manual VM evidence for each cut. Seat images have a separate build, qualification, signing, and GHCR publication process. Release Please does not perform those steps or wait for a seat tag before its back-merge.