To release a new version of python-lsp-server:
- git fetch upstream && git checkout upstream/master
- Close milestone on GitHub
- git clean -xfdi
- Update CHANGELOG.md with
loghub python-lsp/python-lsp-server -m vX.X.X
- git add -A && git commit -m "Update Changelog"
- Update release version in
_version.py
(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
_version.py
(add 'dev0' and increment minor) - git add -A && git commit -m "Back to work"
- git push upstream develop
- git push upstream --tags