Prepare the Coulobre v0.1.0-rc.1 release candidate #51
+19
-7
@@ -27,13 +27,22 @@
|
||||
- Maintainers assign accepted work to a milestone when it has a target
|
||||
release. Issues without a milestone stay in the backlog. Add a due date
|
||||
when a release date has been agreed.
|
||||
- When a version is ready to ship, update the package version in
|
||||
`pyproject.toml`, tag the tested commit on `main` with an annotated tag such
|
||||
as `v0.1.0`, and publish the corresponding [Gitea release][releases]. Include
|
||||
user-visible changes, installation or upgrade instructions, and any known
|
||||
limitations. Use tags such as
|
||||
`v0.1.0-rc.1` for release candidates and mark them as prereleases. Close the
|
||||
milestone when its target version is published.
|
||||
|
||||
### Prepare a release
|
||||
|
||||
1. Update the package version in `pyproject.toml`. For a release candidate,
|
||||
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.
|
||||
[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
|
||||
instructions, and known limitations. Mark a release candidate as a
|
||||
prerelease. Close the milestone when its target version is published.
|
||||
|
||||
## Pull requests
|
||||
|
||||
@@ -49,6 +58,9 @@
|
||||
[issues]: https://code.hosting.hippogrief.nl/hippogrief/coulobre/issues
|
||||
[milestones]: https://code.hosting.hippogrief.nl/hippogrief/coulobre/milestones
|
||||
[releases]: https://code.hosting.hippogrief.nl/hippogrief/coulobre/releases
|
||||
[versions]: https://packaging.python.org/en/latest/specifications/version-specifiers/#pre-releases
|
||||
[build]: https://build.pypa.io/en/stable/
|
||||
[deployment-checks]: docs/deployment.md#verify-a-new-installation
|
||||
|
||||
## Code style
|
||||
|
||||
|
||||
Reference in new issue
Block a user