- Create the release branch.
git switch -c release-x.x.x
- Make sure that all tests are OK.
python setup.py test
- Fix version and create a new tag for the release.
vim janome/version.py
git tag x.x.x
git push --tags
- Build the release modules and upload them to PyPI.
rm dist/*
python setup.py sdist
python setup.py bdist_wheel --universal
twine upload dist/*
- Create the GitHub release.
https://github.com/mocobeta/janome/releases
- Update and publish documentation.
Generate documentation.
./docs/build_docs.sh
Publish to web site.
./docs/upload_docs.sh $DOCS_ROOT_PATH
- Push the release branch and merge to main branch via GitHub.
Well done!