-
Notifications
You must be signed in to change notification settings - Fork 4
Release process
Samuel D. Leslie edited this page Jun 2, 2022
·
5 revisions
Instructions assume a correctly configured development environment.
- Update the version in the
VERSION
file. - Update
CHANGELOG.md
(review the commit history). - Push all commits on
main
and check all builds pass.
- Build the source distribution:
python setup.py sdist
- Build the universal wheel:
python setup.py bdist_wheel
- Sanity check the distribution:
twine check dist/*
- Upload the new release:
twine upload dist/*
Consult the internal documentation (Draftable employees only) for credentials suitable for publishing.
- Add a new Git tag corresponding to the release.
- Fast-forward the
stable
branch to matchmain
. - Update any internal repositories to use the new version.