MAINTAINER.rst: Update Pypi releases

Update section on creating Pypi releases.

Signed-off-by: Pieter De Gendt <pieter.degendt@basalte.be>
This commit is contained in:
Pieter De Gendt 2024-09-18 20:27:49 +02:00 committed by Marc Herbert
parent 04b7bcb6d3
commit 09ca0ce50d
1 changed files with 7 additions and 2 deletions

View File

@ -100,11 +100,16 @@ Pre-release test plan
Building and uploading the release wheels
-----------------------------------------
You need the zephyr-project PyPI credentials for the 'twine upload' command. ::
Creating Pypi releases is done automatically from Github. After publishing
a release on Github a release build is packaged and uploaded with the
version specified in pyproject.toml.
To do these steps manually, you need the zephyr-project PyPI credentials
for the 'twine upload' command. ::
git clean -ffdx
pip3 install --upgrade build twine
pyproject-build
python -m build
twine upload -u zephyr-project dist/*
The 'git clean' step is important. We've anecdotally observed broken wheels