Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Release process

Samuel D. Leslie edited this page Jan 29, 2025 · 6 revisions

Instructions assume a correctly configured development environment.

Preparation

  1. Update the version in the VERSION file.
  2. Update CHANGELOG.md (review the commit history).
  3. Push all commits on main and check all builds pass.

Releasing

  1. Build the sdist and wheel: python -m build .
  2. Check the distribution: twine check dist/*
  3. Upload the new release: twine upload dist/*

Consult the internal documentation (Draftable employees only) for credentials suitable for publishing.

Post-release

  1. Add a new Git tag corresponding to the release.
  2. Fast-forward the stable branch to match main.
  3. Update any internal repositories to use the new version.

Clone this wiki locally

Morty Proxy This is a proxified and sanitized view of the page, visit original site.