Making a Release

  • Make sure changes have been recorded using reno. For every new feature and bugfix:

    • reno new [SLUG]
    • Edit the notes file
    • git add releasenotes
    • git commit
  • Update the version info in pubmarine/__init__.py for the release

  • Regenerate release notes using reno.

    • reno report .> NEWS
    • Edit NEWS to adjust the version number for the release. Since there’s no tag for the new release yet, the version has to be bumped manually in this file.
  • git push

  • Check that tests are passing in travis.

  • Check that the docs built on readthedocs.org

  • git tag the release

  • git push --tags

  • git clone a fresh copy

  • git checkout the tag

  • python3 setup.py sdist

  • check that the dist is sane (same as what’s in the repository. No extra files. No missing files)

  • python3 setup.py sdist upload --sign