-
Notifications
You must be signed in to change notification settings - Fork 252
Release process
-
cd
somewhere and get a clean version of alibi:git clone [email protected]:SeldonIO/alibi.git
-
Bump the version in alibi/version.py to the release version (e.g. 0.1.1dev to 0.1.1)
-
Add any changes from the previous release to CHANGELOG.md, follow the style of Keep a changelog
-
Commit the change with a message e.g.
git commit -m 'v0.1.1'
-
Add a tag
git tag v0.1.1
-
Push the change and the tag
git push
git push origin v0.1.1
-
On Github a release will be automatically published when you pushed the tag, edit the release and copy the changes relevant to this release from CHANGELOG.md
-
Build the python package
make build_pypi
-
Publish the package on test PyPI to check everything is working fine (run
pip install twine
if you don't havetwine
installed already)make push_pypi_test
-
Check that it can be intalled from the test PyPI
pip install --index-url https://test.pypi.org/simple/ --extra-index-url https://pypi.org/simple alibi
-
If everything works, publish to real PyPI
make push_pypi
-
Bump the version in alibi/version.py to 0.1.2dev and push
-
Change readthedocs.org default page to the newest version, e.g. 0.1.1