To release a new version of python-lsp-black:
- git fetch upstream && git checkout upstream/master
- Close milestone on GitHub
- git clean -xfdi
- Update CHANGELOG.md with loghub:
loghub python-lsp/python-lsp-black --milestone vX.X.X
- git add -A && git commit -m "Update Changelog"
- Update release version in
setup.cfg
(set release version, remove '.dev0') - git add -A && git commit -m "Release vX.X.X"
- python setup.py sdist
- python setup.py bdist_wheel
- twine check dist/*
- twine upload dist/*
- git tag -a vX.X.X -m "Release vX.X.X"
- Update development version in
setup.cfg
(add '.dev0' and increment minor) - git add -A && git commit -m "Back to work"
- git push upstream master
- git push upstream --tags
- Draft a new release in GitHub using the new tag.