Hacking¶
Release process¶
Checkout master tip.
Check to make sure
setup.pyand requirements files have correct versions of requirements.Update version numbers in
everett/__init__.py.- Set
__version__to something like1.0.0(use semver). - Set
__releasedate__to something like20190107.
- Set
Update
HISTORY.rst- Set the date for the release.
- Make sure to note any backwards incompatible changes.
Verify correctness.
- Run tests.
- Build docs (this runs example code).
- Verify all that works.
Tag the release:
$ git tag -a v1.0.0
Copy the details from
HISTORY.rstinto the tag comment.Update PyPI:
$ rm -rf dist/* $ python setup.py sdist bdist_wheel $ twine upload dist/*
Push everything:
$ git push --tags official master
Announce the release.