- Update
CHANGES.rst
: change "main" heading to a new version number. The version number should be in the formYY.M.X
, whereYY
is the last two digits of the current year,M
is the current month (no leading zero, but might be two digits), andX
just increments, starting at0
for the first release in a month (can also be multiple digits if needed). - Update
setup.cfg
: changeversion
to 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.rst
and bump the version number insetup.cfg
to the next micro version, with.dev1
appended (e.g. after releasing18.5.1
, bump to18.5.2.dev1
). Commit this. - Push everything to GitHub:
git push && git push --tags
.