Skip to content

Commit

Permalink
update release process document
Browse files Browse the repository at this point in the history
  • Loading branch information
hirosassa committed Feb 1, 2025
1 parent 9616953 commit 12a9d8a
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions RELEASE-PROCESS.rst
Original file line number Diff line number Diff line change
@@ -1,13 +1,14 @@
For maintainers of Luigi, who have push access to pypi. Here's how you upload
Luigi to pypi.

#. Make sure [twine](https://pypi.org/project/twine/) is installed ``pip install twine``.
#. Make sure [uv](https://github.com/astral-sh/uv) is installed ``curl -LsSf https://astral.sh/uv/install.sh | sh``.
#. Update version number in `luigi/__version__.py`.
#. Commit, perhaps simply with a commit message like ``Version x.y.z``.
#. Push to GitHub at [spotify/luigi](https://github.com/spotify/luigi).
#. Clean up previous distributions by executing ``rm -rf dist``
#. Build a source distribution by executing ``python setup.py sdist``
#. Upload to pypi by executing ``twine upload dist/*``
#. Clean up previous distributions by executing ``rm -rf dist``.
#. Build a source distribution by executing ``uv build``.
#. Set pypi token on environment variable ``export UV_PUBLISH_TOKEN="LUIGI_PYPI_TOKEN_HERE"``.
#. Upload to pypi by executing ``uv publish``.
#. Add a tag on github (https://github.com/spotify/luigi/releases),
including a handwritten changelog, possibly inspired from previous notes.

Expand Down

0 comments on commit 12a9d8a

Please sign in to comment.