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

50 lines
1.6 KiB
Markdown
Raw Normal View History

# Release Checklist
## Pre-release
2019-06-07 13:47:49 +00:00
- Update [translation] `po` files from [Launchpad] account.
- Changelog is updated with relevant commits and release date is added.
2019-06-11 10:33:23 +00:00
- Docs [release notes] are updated.
2019-06-07 13:47:49 +00:00
- Tag release in git and push upstream e.g.
git tag -a deluge-2.0.0 -m "Deluge 2.0.0 Release"
## Release
2019-06-05 22:32:37 +00:00
- Create source and wheel distributions:
2019-06-07 13:47:49 +00:00
python setup.py sdist bdist_wheel
- Upload to PyPi (currently only accepts `tar.gz`):
2019-06-05 22:32:37 +00:00
2019-06-07 13:47:49 +00:00
twine upload dist/deluge-2.0.0.tar.gz dist/deluge-2.0.0-py3-none-any.whl
2019-06-05 22:32:37 +00:00
2019-06-07 13:47:49 +00:00
- Calculate `sha256sum` for each file e.g.
2019-06-05 22:32:37 +00:00
2019-06-07 13:47:49 +00:00
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`.
2019-06-11 10:33:23 +00:00
- Change release version in `version` files.
- Run `trigger-deluge` to sync OSUOSL ftp site.
- Create packages (Ubuntu, Windows, OSX).
- Ubuntu: <https://code.launchpad.net/~deluge-team/+recipe/stable-releases>
## Post-release
- Update with version, hashes and release notes:
2019-06-07 13:47:49 +00:00
- Publish docs on [ReadTheDocs].
2019-06-11 10:33:23 +00:00
- Forum announcement.
- IRC welcome message.
2019-06-07 13:47:49 +00:00
- [Wikipedia]
- Close Trac milestone and add new milestone version for future tickets.
- Ensure all stable branch commits are also applied to development branch.
2019-06-07 13:47:49 +00:00
[readthedocs]: https://deluge.readthedocs.io
[wikipedia]: http://en.wikipedia.org/wiki/Deluge_%28software%29
[launchpad]: https://translations.launchpad.net/deluge
2019-06-11 10:33:23 +00:00
[translation]: ../../contributing/translations.md
[release notes]: ../../release/index.md