-
Notifications
You must be signed in to change notification settings - Fork 56
Release Instructions (Draft)
Sergio Rey edited this page Nov 16, 2018
·
1 revision
- Ensure you are on master:
git checkout master
- Make sure there are no staged changes.
- Ensure tests are passing (local and Travis CI):
- Find changes since last version release: XXXXX
- Summarise these changes in CHANGELOG.md
- Increment
__version__
in__init__.py
- Commit with a message e.g.
v1.3.0
- Tag with the same message e.g.
git tag v1.3.0
- Push to github - first the commit:
git push upstream master
- ..and then push the new tag:
git push upstream tag v1.3.0
- Create a universal wheel:
python setup.py bdist_wheel --universal
- This will put a new wheel file in
dist/
- Upload to PyPI with:
twine upload -u USERNAME -p PASSWORD dist/esda-1.3.0.tar.gz
- Create a new GitHub release - https://github.com/pysal/esda/releases/new - select the tag, and copy the CHANGELOG text in.
- Publish the release.