Skip to content

Release Instructions (Draft)

Sergio Rey edited this page Nov 16, 2018 · 1 revision
  1. Ensure you are on master: git checkout master
  2. Make sure there are no staged changes.
  3. Ensure tests are passing (local and Travis CI):
  4. Find changes since last version release: XXXXX
  5. Summarise these changes in CHANGELOG.md
  6. Increment __version__ in __init__.py
  7. Commit with a message e.g. v1.3.0
  8. Tag with the same message e.g. git tag v1.3.0
  9. Push to github - first the commit: git push upstream master
  10. ..and then push the new tag: git push upstream tag v1.3.0
  11. Create a universal wheel: python setup.py bdist_wheel --universal
  12. This will put a new wheel file in dist/
  13. Upload to PyPI with: twine upload -u USERNAME -p PASSWORD dist/esda-1.3.0.tar.gz
  14. Create a new GitHub release - https://github.com/pysal/esda/releases/new - select the tag, and copy the CHANGELOG text in.
  15. Publish the release.
Clone this wiki locally