Run the tests.
Update the VERSION identifier
Edit 'src/SSHLibrary/version.py' in the source repo, commit and push the changes.
Create an annotated Git tag in the source repo and push it
VERSION=N.N git tag -a $VERSION -m "Release $VERSION" && git push --tags
Close the milestone from issuetracker: https://github.com/robotframework/SSHLibrary/milestones
Create release on github. See example from previous releases: https://github.com/robotframework/SSHLibrary/releases
Create a source .tar.gz distribution
python setup.py sdist --formats=gztar
Verify that the content is correct:
tar -ztvf robotframework-sshlibrary-N.N.tar.gz)
Upload the source distribution to PyPi
python setup.py sdist register upload
Update the docs from gh-pages directory. You can generate the docs with this command:
PYTHONPATH=src python -m robot.libdoc SSHLibrary SSHLibrary.html
Tweet (or re-tweet) about the release as @robotframework to get it into News at http://robotframework.org.
Send release mails.