-
Notifications
You must be signed in to change notification settings - Fork 18
HOWTO Release
Juan Luis Cano Rodríguez edited this page Nov 27, 2020
·
14 revisions
- Update version in docs: https://github.com/satellogic/telluric/blob/master/docs/source/conf.py and in the Changelog, including the date
-
git commit -m 'Bump version'
directly onmaster
branch -
git tag -a vX.Y.Z
, andVersion X.Y.Z
in the tag message (versioneer takes care of the rest) - Check that there are no leftover files (
git clean -i
orcd .. && git clone telluric telluric-clean
) -
pip install -U twine build
if needed - Generate sdist and bdist_wheel:
python -m build .
- Upload to test environment to see that everything works:
twine upload dist/* --repository-url https://test.pypi.org/legacy/
(note: if there are old releases indist/*
, twine will complain) - If everything is correct, upload to production environment:
twine upload dist/* --repository-url https://upload.pypi.org/legacy/
git push upstream master && git push upstream --tags
- "Draft a new release" https://github.com/satellogic/telluric/releases/new
- Advance version in
docs/source/conf.py
tovX.Y+1.dev0
andgit commit -m 'Bump to next development version'
- Send an email to https://mail.python.org/mailman/listinfo/python-announce-list about the new release, similar to https://mail.python.org/pipermail/python-announce-list/2018-April/011908.html