- Make sure you're on master.
git checkout master && git fetch && git reset --hard origin/master
- Update
setup.py
to the newest version,git add setup.py && git commit -m "version 1.2.3"
python setup.py sdist bdist_wheel
git tag -a v1.2.3 -m "version 1.2.3"
git push --tags origin master
to push the last version to Github- Go to https://github.com/spotify/annoy/releases and click "Draft a new release"
twine upload dist/annoy-1.2.3*
- Wheel