- Update
CHANGES.rst: change "main" heading to a new version number. The version number should be in the formYY.M.X, whereYYis the last two digits of the current year,Mis the current month (no leading zero, but might be two digits), andXjust increments, starting at0for the first release in a month (can also be multiple digits if needed). - Update
setup.cfg: changeversionto the same version as above. - Commit these changes with the commit message "Version YY.M.X" (replacing with the real version).
- Tag this commit (signed tag):
git tag -s vYY.M.X. Tag message can also just bevYY.M.X. - Build wheel and sdist packages:
pipenv run python setup.py sdist bdist_wheel. - Upload the packages to PyPI:
pipenv run twine upload -s dist/MonkeyType-YY.M.X-py3-none-any.whl dist/MonkeyType-YY.M.X.tar.gz - Add a new "main" heading to
CHANGES.rstand bump the version number insetup.cfgto the next micro version, with.dev1appended (e.g. after releasing18.5.1, bump to18.5.2.dev1). Commit this. - Push everything to GitHub:
git push && git push --tags.