Release processΒΆ
Checkout master tip.
Check to make sure
setup.py
, requirements files, anddocs/installation.rst
have 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.rst
andCHANGELOG
all 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
CHANGELOG
into 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.