Skip to content

Commit d764650

Browse files
msfrisbieclaude
andcommitted
CLAUDE.md: allow releasing this library once tests pass
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
1 parent c8c4dd3 commit d764650

1 file changed

Lines changed: 20 additions & 0 deletions

File tree

‎CLAUDE.md‎

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,26 @@ T3_SMOKE_SECRET_KEY=... uv run pytest -m sandbox
3535

3636
`update_spec.py` prints how the endpoint-kind counts changed; mention notable changes in `CHANGELOG.md`. CI (`.github/workflows/ci.yml`) runs mypy and pytest on Linux, macOS and Windows with Python 3.12 and 3.13, plus a strict docs build. `.github/workflows/release.yml` publishes to PyPI on a published GitHub release.
3737

38+
### Releasing
39+
40+
For this repository (t3api-python-utils) only, Claude may merge to `master`, push, tag and publish a release without asking first, as long as the tests fully pass:
41+
42+
- `uv run pytest --cov` passes at 100% coverage;
43+
- `uv run mypy` is clean;
44+
- `uv run mkdocs build --strict` passes;
45+
- CI is green on every OS for the commit being released.
46+
47+
If any of these fail, stop and report instead of releasing.
48+
49+
Steps:
50+
51+
1. Bump `version` in `pyproject.toml` and add a `CHANGELOG.md` entry.
52+
2. Run the checklist above.
53+
3. Push the branch and wait for CI.
54+
4. Fast-forward `master` to the release commit and push it.
55+
5. `gh release create vX.Y.Z --target master`, with that version's `CHANGELOG.md` section as the notes. This runs `release.yml`, which uploads to PyPI through trusted publishing.
56+
6. Deploy the docs with `uv run mkdocs gh-deploy`.
57+
3858
## Architecture
3959

4060
### Package layout

0 commit comments

Comments
 (0)