Release processΒΆ
Checkout master tip.
Check to make sure
setup.py, requirements files, anddocs/installation.rsthave correct version of elasticsearch-py.Update version numbers in
elasticutils/_version.py.- Set
__version__to something like0.4. - Set
__releasedate__to something like20120731.
- Set
Update
CONTRIBUTORS,CHANGELOG,MANIFEST.in.Make sure to set the date for the release in CHANGELOG.
Make sure requirements in
setup.py,docs/installation.rstandCHANGELOGall match.Verify correctness.
- Run tests.
- Build docs.
- Run sample programs in docs.
- Verify all that works.
Tag the release:
$ git tag -a v0.4
Copy the details from
CHANGELOGinto the tag comment.Push everything:
$ git push --tags official master
Update PyPI:
$ rm -rf dist/* $ python setup.py sdist bdist_wheel $ twine upload dist/*
Update topic in
#elasticutils, blog post, twitter, etc.