Update release checklist
This commit is contained in:
parent
eb53483f6f
commit
f67afa0d58
20
RELEASING.md
20
RELEASING.md
|
@ -1,23 +1,25 @@
|
||||||
# Release Checklist
|
# 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.
|
* [ ] 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
|
```bash
|
||||||
git checkout master
|
git checkout master
|
||||||
edit pylast/version.py
|
edit pylast/version.py
|
||||||
|
edit CHANGELOG.md
|
||||||
```
|
```
|
||||||
* [ ] Commit and tag with the version number:
|
* [ ] Commit and tag with the version number:
|
||||||
```bash
|
```bash
|
||||||
git add pylast/version.py
|
git add CHANGELOG.md pylast/version.py
|
||||||
git commit -m "Release 2.1.0"
|
git commit -m "Release 3.0.0"
|
||||||
git tag -a 2.1.0 -m "Release 2.1.0"
|
git tag -a 3.0.0 -m "Release 3.0.0"
|
||||||
```
|
```
|
||||||
* [ ] Create a distribution and release on PyPI:
|
* [ ] Create a distribution and release on PyPI:
|
||||||
```bash
|
```bash
|
||||||
pip install -U pip setuptools wheel twine keyring
|
pip3 install -U pip setuptools wheel twine keyring
|
||||||
rm -rf build
|
rm -rf build
|
||||||
python setup.py sdist --format=gztar bdist_wheel
|
python3 setup.py sdist --format=gztar bdist_wheel
|
||||||
twine upload -r pypi dist/pylast-2.1.0*
|
twine check dist/*
|
||||||
|
twine upload -r pypi dist/pylast-3.0.0*
|
||||||
```
|
```
|
||||||
* [ ] Check installation: `pip install -U pylast`
|
* [ ] Check installation: `pip install -U pylast`
|
||||||
* [ ] Push commits and tags:
|
* [ ] Push commits and tags:
|
||||||
|
@ -26,8 +28,8 @@ git push
|
||||||
git push --tags
|
git push --tags
|
||||||
```
|
```
|
||||||
* [ ] Create new GitHub release: https://github.com/pylast/pylast/releases/new
|
* [ ] Create new GitHub release: https://github.com/pylast/pylast/releases/new
|
||||||
* Tag: Pick existing tag "2.1.0"
|
* Tag: Pick existing tag "3.0.0"
|
||||||
* Title: "Release 2.1.0"
|
* Title: "Release 3.0.0"
|
||||||
* [ ] Increment version and append `.dev0`:
|
* [ ] Increment version and append `.dev0`:
|
||||||
```bash
|
```bash
|
||||||
git checkout master
|
git checkout master
|
||||||
|
|
Loading…
Reference in a new issue