Skip to content

Commit

Permalink
MAINTAINER.rst: Update Pypi releases
Browse files Browse the repository at this point in the history
Update section on creating Pypi releases.

Signed-off-by: Pieter De Gendt <[email protected]>
  • Loading branch information
pdgendt authored and marc-hb committed Oct 3, 2024
1 parent 04b7bcb commit 09ca0ce
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions MAINTAINERS.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 09ca0ce

Please sign in to comment.