From f67afa0d582565e5622d5f47a57b5af138a6f428 Mon Sep 17 00:00:00 2001 From: Hugo Date: Tue, 1 Jan 2019 18:01:42 +0200 Subject: [PATCH] Update release checklist --- RELEASING.md | 20 +++++++++++--------- 1 file changed, 11 insertions(+), 9 deletions(-) diff --git a/RELEASING.md b/RELEASING.md index 4416ee0..1cc7147 100644 --- a/RELEASING.md +++ b/RELEASING.md @@ -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