-
Notifications
You must be signed in to change notification settings - Fork 2
Release Procedure
Joseph Martinot-Lagarde edited this page Feb 20, 2022
·
2 revisions
-
Prepare local git repo
git restore . && git switch master && git pull origin master git clean -xfdi
-
Update
__version__
in__init__.py
(remove ".dev") -
Build wheel and archive
python -m build
-
Upload distribution packages to PyPI
twine upload dist/*
-
Commit
git commit -am "Release X.Y.Z" git tag -a vX.Y.Z -m "Release X.Y.Z"
-
Update
__version__
in__init__.py
(increment and add.dev
)git commit -am "Set __version__ to dev" git push origin master --tags
-
Create a GitHub release from the tag