- Set the new version in the
weaviate/version.py
andtest/test_version.py
. - Run all tests. (Check
test/README.md
) - Then build the new package:
python setup.py sdist bdist_wheel
- And check it:
twine check dist/*
- Check if you are on correct GitBranch.
- Commit the most current version to GitHub if this has not been done yet.
- Check TravisCI status to be
OK!
, if notOK!
fix it. - Give the commit of the current version a proper tag:
git tag -a '<your tag>' -m '<some message for the tag>' && git push --tags
tags are either in the form ofv0.2.5
orv0.2.5rc0
. - Optional: install package locally by running
pip install .
and check if the version is set correctly. - Finally publish:
twine upload dist/*