Update release checklist in CONTRIBUTING

This commit is contained in:
Florian Bruhin 2016-04-05 06:54:24 +02:00
parent f91935c8e8
commit 1e740aa78b

View File

@ -606,6 +606,11 @@ qutebrowser release
* Make sure there are no unstaged changes and the tests are green. * Make sure there are no unstaged changes and the tests are green.
* Add newest config to `tests/unit/config/old_configs` and update `test_upgrade_version`
- `python -m qutebrowser --basedir conf :quit`
- `sed '/^#/d' conf/config/qutebrowser.conf > tests/unit/config/old_configs/qutebrowser-v0.x.y.conf`
- `rm -r conf`
- commit
* Adjust `__version_info__` in `qutebrowser/__init__.py`. * Adjust `__version_info__` in `qutebrowser/__init__.py`.
* Remove *(unreleased)* from changelog. * Remove *(unreleased)* from changelog.
* Run tests again * Run tests again
@ -613,7 +618,6 @@ qutebrowser release
* Commit * Commit
* Create annotated git tag (`git tag -s "v0.X.Y" -m "Release v0.X.Y"`) * Create annotated git tag (`git tag -s "v0.X.Y" -m "Release v0.X.Y"`)
* If it's a new minor, create git branch `v0.X.x`
* If committing on minor branch, cherry-pick release commit to master. * If committing on minor branch, cherry-pick release commit to master.
* `git push origin`; `git push origin v0.X.Y` * `git push origin`; `git push origin v0.X.Y`
* Create release on github * Create release on github
@ -622,12 +626,15 @@ as closed.
* Run `scripts/dev/build_release.py` on Linux to build an sdist * Run `scripts/dev/build_release.py` on Linux to build an sdist
* Upload to PyPI: `twine upload dist/foo{,.asc}` * Upload to PyPI: `twine upload dist/foo{,.asc}`
* Create Windows packages via `scripts/dev/build_release.py` and upload. * Create Windows packages via `scripts/dev/build_release.py`
* Upload to github
* Upload to qutebrowser.org with checksum/GPG * Upload to qutebrowser.org with checksum/GPG
- On server: `sudo mkdir -p /srv/http/qutebrowser/releases/v0.X.Y/windows` - On server: `sudo mkdir -p /srv/http/qutebrowser/releases/v0.X.Y/windows`
- `rsync -avPh dist/ tonks:` - `rsync -avPh dist/ tonks:`
- On server: `sudo mv qutebrowser-0.X.Y.tar.gz* /srv/http/qutebrowser/releases/v0.X.Y` - On server: `sudo mv qutebrowser-0.X.Y.tar.gz* /srv/http/qutebrowser/releases/v0.X.Y`
- Upload windows release:
* Update AUR package - `scp bb-win8:proj/qutebrowser/qutebrowser-0.X.Y-windows.zip .`
- `aunpack qutebrowser-0.X.Y-windows.zip`
- `sudo mv qutebrowser-0.X.Y-windows/* /srv/http/qutebrowser/releases/v0.6.0/windows`
* Announce to qutebrowser mailinglist * Announce to qutebrowser mailinglist