Skip to content

Latest commit

 

History

History
50 lines (31 loc) · 1.07 KB

RELEASE.md

File metadata and controls

50 lines (31 loc) · 1.07 KB

RELEASE

This is the procedure we use for "biothings_client" package release

  1. requires both build and twine packages installed

    pip install build twine
  2. Update version number in pyproject.toml.

  3. Check and update other sections of pyproject.toml if needed (dependencies, metadata etc.).

  4. Build the package locally:

    python -m build
  5. Test the package built locally:

    pip install dist/biothings_client-0.3.0-py2.py3-none-any.whl

And run any local test as needed.

  1. Prepare github repo for the release:

    • Create a tag for each released version (with "v" prefix):

      git tag -a "v0.3.0" -m "tagging v0.3.0 for release"
    • If everything looks good, push to the remote:

      git push --tags
  2. Upload to PyPI:

    twine upload dist/*

    Note: this step needs to be done by @newgene under "newgene" PyPI account or any authorized PyPI user.