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 <pieter.degendt@basalte.be>
  • Loading branch information
pdgendt committed Sep 18, 2024
1 parent e9005b3 commit 17dd383
Showing 1 changed file with 3 additions and 11 deletions.
14 changes: 3 additions & 11 deletions MAINTAINERS.rst
Original file line number Diff line number Diff line change
Expand Up @@ -85,17 +85,9 @@ Pre-release test plan
Building and uploading the release wheels
-----------------------------------------

You need the zephyr-project PyPI credentials for the 'twine upload' command. ::

git clean -ffdx
pip3 install --upgrade build twine
pyproject-build
twine upload -u zephyr-project dist/*

The 'git clean' step is important. We've anecdotally observed broken wheels
being generated from dirty repositories.

Check out [packaging.python.org](https://packaging.python.org/en/latest/tutorials/packaging-projects/#generating-distribution-archives) for more detailed instructions.
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.

Tagging the release
-------------------
Expand Down

0 comments on commit 17dd383

Please sign in to comment.