From 24ddc7a4af9b32d0569bd0c46a662383b599ae46 Mon Sep 17 00:00:00 2001 From: Peter van Arkel Date: Sat, 21 Nov 2026 18:24:33 +0100 Subject: [PATCH] Run artifact verification before pushing release tags --- CONTRIBUTING.md | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 2c1f718..9ad41de 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -34,13 +34,16 @@ use a Python version such as `0.1.0rc1` and a matching Git tag such as `v0.1.0-rc.1`. [Python version specifiers][versions] 2. From a clean checkout, use `python -m build` to build the source - distribution and wheel. Verify that the source archive contains the - deployment examples and guides. Install the built wheel in a fresh - virtual environment and run the deployment checks for the release. + distribution and wheel. Run + `python tools/check_core_release.py dist/*.tar.gz dist/*.whl` to compare + both packages with the reviewed Git tree. Use `--ref ` + to verify the files against a specific revision. Install the built wheel + in a fresh virtual environment and run the deployment checks. [Build documentation][build] ยท [Deployment checks][deployment-checks] -3. Create an annotated tag for the tested commit on `main` and publish the - corresponding [Gitea release][releases] with the source distribution - and wheel. Include user-visible changes, installation or upgrade +3. Create an annotated tag for the tested commit on `main`. Verify the + artifacts against that local tag before pushing it. Publish the + corresponding [Gitea release][releases] with the verified source + distribution and wheel. Include user-visible changes, installation or upgrade instructions, and known limitations. Mark a release candidate as a prerelease. Close the milestone when its target version is published.