Skip to content
Osma Suominen edited this page May 7, 2019 · 26 revisions

How to make a new release of Annif.

  1. Check that the master branch is in shape for a new release - tests are passing, no open issues etc.
  2. Make sure your local master branch is up to date w.r.t. GitHub: git checkout master; git pull
  3. Activate the pipenv with pipenv shell if you haven't already
  4. Make a new version with bumpversion: bumpversion minor or bumpversion patch
  5. Check with git log that the new version number matches your expectations.
  6. Push the commit to GitHub: git push
  7. Push the version tag too: git push --tags
  8. Wait for Travis CI builds to complete. The version tag should trigger a distribution build that is uploaded to PyPI. Also it should trigger archiving on Zenodo.
  9. In GitHub Releases tab, turn the tab into a release and add release notes.
  10. Close the milestone corresponding to the release (and create a new one for the next release).
  11. Update the wiki documentation to match features of the new release (e.g. new or updated backends)
  12. Announce the release on annif-users and other channels (e.g. twitter)
Clone this wiki locally