Skip to content

Latest commit

 

History

History
15 lines (15 loc) · 1 KB

RELEASE.md

File metadata and controls

15 lines (15 loc) · 1 KB

Steps to make a release

  1. Pull the most recent tags: git fetch --all --tags.
  2. Create a new branch from main, say release-vX.Y.Z where X.Y.Z is the new release number.
  3. Bump the version in hta/version.py. Versions must adhere to Semantic Versioning.
  4. Make a tag, git tag vX.Y.Z.
  5. Merge the release branch along with the tag into main through a PR git push --tags -u origin [branch_name]
  6. Install twine and build locally: pip install --upgrade twine build.
  7. Build the source distribution and wheel files: python3 -m build.
  8. Verify the new package can be installed using pip:
    1. In a new conda environment execute: pip install dist/HolisticTraceAnalysis-X.Y.Z.tar.gz
    2. Verify version of the new package: python -c 'import hta; print(hta.__version__)'
  9. Upload the release to PyPI: twine upload dist/* (requires PyPI account).
  10. Create a new release on this page on Github.