Update release checklist

This commit is contained in:
Hugo 2019-01-01 18:01:42 +02:00
parent eb53483f6f
commit f67afa0d58

View file

@ -1,23 +1,25 @@
# Release Checklist
* [ ] Get master to the appropriate code release state. [Travis CI](https://travis-ci.org/pylast/pylast) should be running cleanly for all merges to master.
* [ ] Remove `.dev0` suffix from the version:
* [ ] Remove `.dev0` suffix from the version and update version and date in the changelog:
```bash
git checkout master
edit pylast/version.py
edit CHANGELOG.md
```
* [ ] Commit and tag with the version number:
```bash
git add pylast/version.py
git commit -m "Release 2.1.0"
git tag -a 2.1.0 -m "Release 2.1.0"
git add CHANGELOG.md pylast/version.py
git commit -m "Release 3.0.0"
git tag -a 3.0.0 -m "Release 3.0.0"
```
* [ ] Create a distribution and release on PyPI:
```bash
pip install -U pip setuptools wheel twine keyring
pip3 install -U pip setuptools wheel twine keyring
rm -rf build
python setup.py sdist --format=gztar bdist_wheel
twine upload -r pypi dist/pylast-2.1.0*
python3 setup.py sdist --format=gztar bdist_wheel
twine check dist/*
twine upload -r pypi dist/pylast-3.0.0*
```
* [ ] Check installation: `pip install -U pylast`
* [ ] Push commits and tags:
@ -26,8 +28,8 @@ git push
git push --tags
```
* [ ] Create new GitHub release: https://github.com/pylast/pylast/releases/new
* Tag: Pick existing tag "2.1.0"
* Title: "Release 2.1.0"
* Tag: Pick existing tag "3.0.0"
* Title: "Release 3.0.0"
* [ ] Increment version and append `.dev0`:
```bash
git checkout master