Release Procedure

  1. Create a new branch release-v0.0.x with the version for the release.

  • Update CHANGELOG.rst

  • Make sure all new changes, features are reflected in the documentation.

  1. Open a new pull request for this branch targeting master

  2. After all tests pass and the PR has been approved, merge the PR into master

  3. Tag a release and push to github:

    $ git tag -a v0.0.17 -m "Version 0.0.17"
    $ git push origin master --tags
  4. Build and publish release on PyPI:

    $ git clean -xfd  # remove any files not checked into git
    $ python sdist bdist_wheel --universal  # build package
    $ twine upload dist/*  # register and push to pypi
  5. Update the stable branch (used by ReadTheDocs):

    $ git checkout stable
    $ git rebase master
    $ git push -f origin stable
    $ git checkout master
  6. Go to and add the new version to “Active Versions” under the version tab. Force-build “stable” if it isn’t already building.

  7. Update xskillscore conda-forge feedstock

  • Fork xskillscore-feedstock repository

  • Clone this fork and edit recipe:

    $ git clone
    $ cd xskillscore-feedstock
    $ cd recipe
    $ # edit meta.yaml
  • Update version

  • Get sha256 from for xskillscore

  • Fill in the rest of information as described here

  • Commit and submit a PR