Skip to content
This repository has been archived by the owner on Jul 23, 2020. It is now read-only.

Latest commit

 

History

History
28 lines (16 loc) · 636 Bytes

RELEASING.md

File metadata and controls

28 lines (16 loc) · 636 Bytes

Releasing a New Version

  1. Change the MAJOR, MINOR, MICRO version numbers in setup.py as appropriate

  2. Set ISRELEASE=True in setup.py

  3. Run

    python setup.py build
    

    to generate schemapi/version.py

  4. Commit the changes and tag the release; e.g.

    git add . -u
    git commit -m "MAINT: release version 0.1"
    git tag -a v0.1 -m "version 0.1 release"
    

    and push tag to origin

  5. Upload to PyPI (requires jakevdp's permissions)

    python setup.py sdist upload
    
  6. Update to the next minor version in setup.py, and set ISRELEASE=False

  7. Commit to master and push to origin