Skip to content

HowToRelease

Mike Taves edited this page Dec 6, 2023 · 4 revisions

How To Release

  1. Update the date and change log notes for the release in docs/source/changelog.rst
  2. Update CITATION.cff, modify "version" and "date-released" items
  3. Create a commit with message, e.g., git commit -m "RLS: 0.4"
  4. Create a tag, e.g., git tag 0.4
  5. Do a git push and git push --tags and observe checks in GitHub
  6. Create release on GitHub using tag with title, e.g., "Version 0.4" and description from a copy/paste from changelog.rst
  7. Create package for PyPI with:
pip install build twine
rm -rf build dist *.egg-info
python -m build
python -m twine check --strict dist/*
python -m twine upload dist/*
Clone this wiki locally