Run artifact verification before pushing release tags
This commit is contained in:
1 parent
945d4232cc
commit
24ddc7a4af
1 file changed
+9
-6
+9
-6
@@ -34,13 +34,16 @@
|
|||||||
use a Python version such as `0.1.0rc1` and a matching Git tag such as
|
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]
|
`v0.1.0-rc.1`. [Python version specifiers][versions]
|
||||||
2. From a clean checkout, use `python -m build` to build the source
|
2. From a clean checkout, use `python -m build` to build the source
|
||||||
distribution and wheel. Verify that the source archive contains the
|
distribution and wheel. Run
|
||||||
deployment examples and guides. Install the built wheel in a fresh
|
`python tools/check_core_release.py dist/*.tar.gz dist/*.whl` to compare
|
||||||
virtual environment and run the deployment checks for the release.
|
both packages with the reviewed Git tree. Use `--ref <tag-or-commit>`
|
||||||
|
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]
|
[Build documentation][build] · [Deployment checks][deployment-checks]
|
||||||
3. Create an annotated tag for the tested commit on `main` and publish the
|
3. Create an annotated tag for the tested commit on `main`. Verify the
|
||||||
corresponding [Gitea release][releases] with the source distribution
|
artifacts against that local tag before pushing it. Publish the
|
||||||
and wheel. Include user-visible changes, installation or upgrade
|
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
|
instructions, and known limitations. Mark a release candidate as a
|
||||||
prerelease. Close the milestone when its target version is published.
|
prerelease. Close the milestone when its target version is published.
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user