Skip to content

Latest commit

 

History

History
16 lines (14 loc) · 1.12 KB

RELEASE-PROCESS.rst

File metadata and controls

16 lines (14 loc) · 1.12 KB

For maintainers of Luigi, who have push access to pypi. Here's how you upload Luigi to pypi.

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

Currently, Luigi is not released on any particular schedule and it is not strictly abiding semantic versioning. Whenever possible, bump major version when you make incompatible API changes, minor version when you add functionality in a backwards compatible manner, and patch version when you make backwards compatible bug fixes.