Skip to content

Creating a new release (GitHub and PyPi)

Kent Inverarity edited this page Feb 2, 2016 · 11 revisions
  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): py.test
  4. Increment __version__ in las.py
  5. Find changes since last version release
  6. Summarise these changes in CHANGELOG.md
  7. Commit with a message e.g. v1.3
  8. Tag with the same message e.g. git tag v1.3
  9. Push to github - first the commit: git push github master
  10. ..and then push the new tag: git push github tag v1.3
  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/blah_vmajor.minor.wheel
  14. Create a new GitHub release - https://github.com/kinverarity1/lasio/releases/new - select the tag, and copy the CHANGELOG text in.
  15. Copy the wheel file into the release page.
  16. Publish the release.

That's it.

Clone this wiki locally