2014-09-24 11:17:04 +04:00
# Release Checklist
## Main Release
Released quarterly.
2015-04-02 22:11:39 +03:00
* [ ] Get master to appropriate code release state. [Travis CI ](https://travis-ci.org/python-pillow/Pillow ) should be running cleanly for all merges to master.
* [ ] Update version in:
```
PIL/__init__.py setup.py _imaging.c
```
* [ ] Update `CHANGES.rst` .
2014-10-02 21:10:58 +04:00
* [ ] Run pre-release check via `make pre`
2014-09-24 11:17:04 +04:00
* [ ] Tag and push to release branch in python-pillow repo.
2015-04-02 22:11:39 +03:00
* [ ] Upload source and binary distributions.
2014-09-24 11:17:04 +04:00
## Point Release
2015-04-02 22:11:39 +03:00
Released as required for security, installation or critical bug fixes.
2014-09-24 11:17:04 +04:00
* [ ] Make necessary changes in master.
2015-04-02 22:11:39 +03:00
* [ ] Cherry pick individual commits.
* [ ] Update version in:
```
PIL/__init__.py setup.py _imaging.c
```
* [ ] Update `CHANGES.rst` .
2014-10-02 21:10:58 +04:00
* [ ] Run pre-release check via `make pre`
2014-09-24 11:17:04 +04:00
* [ ] Push to release branch in personal repo. Let Travis run cleanly.
* [ ] Tag and push to release branch in python-pillow repo.
2015-04-02 22:11:39 +03:00
* [ ] Upload source and binary distributions.
2014-09-24 11:17:04 +04:00
## Embargoed Release
Security fixes that need to be pushed to the distros prior to public release.
* [ ] Prepare patch for all versions that will get a fix. Test against local installations.
* [ ] Commit against master, cherry pick to affected release branches.
* [ ] Run local test matrix on each release & Python version.
* [ ] Privately send to distros.
2014-10-02 21:10:58 +04:00
* [ ] Run pre-release check via `make pre`
2014-09-24 11:17:04 +04:00
* [ ] Amend any commits with the CVE #
* [ ] On release date, tag and push to GitHub.
```
git checkout 2.5.x
git tag 2.5.3
git push origin 2.5.x
git push origin --tags
```
2015-04-02 22:11:39 +03:00
* [ ] Upload source and binary distributions.
2014-09-24 11:17:04 +04:00
2015-04-01 13:19:12 +03:00
## Upload Process
2014-09-24 11:17:04 +04:00
2015-04-02 22:11:39 +03:00
* [ ] Contact @cgohlke for Windows binaries.
2014-09-24 11:17:04 +04:00
* [ ] From a clean source directory with no extra temp files:
```
python setup.py sdist --format=zip upload
```
2015-04-01 13:16:36 +03:00
Or
```
make sdistup
```
2014-09-24 11:17:04 +04:00
(Debian requests a tarball, everyone else would just prefer that we choose one and stick to it. So both it is)
* [ ] Push a commit to https://github.com/python-pillow/pillow-wheels to build OSX versions (UNDONE latest tag or specific release???)
* [ ] Retrieve the OS X Wheels from Rackspace files, upload to PyPi (Twine?)
* [ ] Grab Windows binaries, `twine upload dist/*.[whl|egg]` . Manually upload .exe installers.
* [ ] Announce release availability. [Twitter ](https://twitter.com/pythonpillow ), web.