Skip to content

Release process

Janis Klaise edited this page Oct 17, 2019 · 26 revisions
  1. cd somewhere and get a clean version of alibi:

    git clone [email protected]:SeldonIO/alibi.git

  2. Bump the version in alibi/version.py to the release version (e.g. 0.1.1dev to 0.1.1)

  3. Add any changes from the previous release to CHANGELOG.md, follow the style of Keep a changelog

  4. Commit the change with a message e.g.

    git commit -m 'v0.1.1'

  5. Add a tag

    git tag v0.1.1

  6. Push the change and the tag

    git push

    git push origin v0.1.1

  7. 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

  8. Build the python package

    make build_pypi

  9. Publish the package on test PyPI to check everything is working fine

    make push_pypi_test

  10. 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

  11. If everything works, publish to real PyPI

    make push_pypi

  12. Bump the version in alibi/version.py to 0.1.2dev and push

  13. Change readthedocs.org default page to the newest version, e.g. 0.1.1

Clone this wiki locally