-
Notifications
You must be signed in to change notification settings - Fork 7
HowToRelease
Mike Taves edited this page Jul 3, 2024
·
5 revisions
- Make a new branch:
git checkout -b version-0.8
- Update the date and change log notes for the release in
docs/source/changelog.rst
- Update CITATION.cff, modify "version" and "date-released" items
- Create a commit with message, e.g.,
git commit -m "RLS: 0.8"
, make a Pull Request and Merge if checks look good. - Do a local pull
git checkout main && git pull
- Tag a release and push
git tag 0.8
- Push tags to remote
git push --tags
then wait for docs to be made to copy changelog entries to copy/paste - Create release on GitHub using tag with title, e.g., "Version 0.8" and description from a copy/paste from previous step
- (TODO: remove this after publishing is OK). 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/*