Make checklist more copy/pastable [CI skip]
This commit is contained in:
parent
348d2ce7ba
commit
edeec178c5
28
RELEASING.md
28
RELEASING.md
|
@ -1,34 +1,40 @@
|
||||||
# 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 version in `pylast/__init__.py` and `setup.py` and commit:
|
* [ ] Remove `.dev0` suffix from version in `pylast/__init__.py` and `setup.py`:
|
||||||
```bash
|
```bash
|
||||||
git checkout master
|
git checkout master
|
||||||
edit pylast/__init__.py setup.py
|
edit pylast/__init__.py setup.py
|
||||||
git add pylast/__init__.py setup.py
|
|
||||||
git commit -m "Release 2.0.0"
|
|
||||||
```
|
```
|
||||||
* [ ] Tag the last commit with the version number:
|
* [ ] Commit and tag with the version number:
|
||||||
```bash
|
```bash
|
||||||
git tag -a 2.0.0 -m "Release 2.0.0"
|
git add pylast/__init__.py setup.py
|
||||||
|
git commit -m "Release 2.1.0"
|
||||||
|
git tag -a 2.1.0 -m "Release 2.1.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
|
pip install -U pip setuptools wheel twine keyring
|
||||||
rm -rf build
|
rm -rf build
|
||||||
python setup.py sdist --format=gztar bdist_wheel
|
python setup.py sdist --format=gztar bdist_wheel
|
||||||
twine upload -r pypi dist/pylast-2.0.0*
|
twine upload -r pypi dist/pylast-2.1.0*
|
||||||
```
|
```
|
||||||
* [ ] Check installation: `pip install -U pylast`
|
* [ ] Check installation: `pip install -U pylast`
|
||||||
* [ ] Push: `git push`
|
* [ ] Push commits and tags:
|
||||||
* [ ] Push tags: `git push --tags`
|
```bash
|
||||||
|
git push
|
||||||
|
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.0.0"
|
* Tag: Pick existing tag "2.1.0"
|
||||||
* Title: "Release 2.0.0"
|
* Title: "Release 2.1.0"
|
||||||
* [ ] Increment version and append `.dev0` in `pylast/__init__.py` and `setup.py` and commit:
|
* [ ] Increment version and append `.dev0` in `pylast/__init__.py` and `setup.py`:
|
||||||
```bash
|
```bash
|
||||||
git checkout master
|
git checkout master
|
||||||
edit pylast/__init__.py setup.py
|
edit pylast/__init__.py setup.py
|
||||||
|
```
|
||||||
|
* [ ] Commit and push:
|
||||||
|
```bash
|
||||||
git add pylast/__init__.py setup.py
|
git add pylast/__init__.py setup.py
|
||||||
git commit -m "Start new release cycle"
|
git commit -m "Start new release cycle"
|
||||||
git push
|
git push
|
||||||
|
|
Loading…
Reference in a new issue