deluge/docs/source/devguide/packaging/release.md

1.6 KiB

Release Checklist

Pre-release

  • Update translation po files from Launchpad account.

  • Changelog is updated with relevant commits and release date is added.

  • Docs release notes are updated.

  • Tag release in git and push upstream e.g.

    git tag -a deluge-2.0.0 -m "Deluge 2.0.0 Release"
    

Release

  • Create source and wheel distributions:

    python setup.py sdist bdist_wheel
    
  • Upload to PyPi (currently only accepts tar.gz):

    twine upload dist/deluge-2.0.0.tar.gz dist/deluge-2.0.0-py3-none-any.whl
    
  • Calculate sha256sum for each file e.g.

    cd dist; sha256sum deluge-2.0.0.tar.xz > deluge-2.0.0.tar.xz.sha256
    
  • Upload source tarballs and packages to download.deluge-torrent.org.

    • Ensure file permissions are global readable: 0644
    • Sub-directories correspond to major.minor version e.g. all 2.0.x patch releases are stored in source/2.0.
    • Change release version in version files.
    • Run trigger-deluge to sync OSUOSL FTP site.
  • Create packages (Ubuntu, Windows, OSX).

Post-release

  • Update with version, hashes and release notes:
  • Close Trac milestone and add new milestone version for future tickets.
  • Ensure all stable branch commits are also applied to development branch.