Fixed font text area below list commands expected to be entered in a bash shell
- Make sure the cli and module work as expected.
- Choose the next release version number:
release="X.Y.Z"
- Tag the release and push:
If you don't have a GPG key, omit the ``-s`` option.
git tag -s -m "hdmf-docutils ${release}" ${release} origin/main git push origin ${release}
- Create a new release on the GitHub UI and the publish_pypi.yml workflow will automatically upload the packages to PyPI.
- Configure
~/.pypirc
as described here. - Create the source tarball and wheel:
rm -rf dist/ python -m pip install build python -m build
- Upload the packages to the testing PyPI instance:
pip install --upgrade twine twine upload -r testpypi dist/*
Check the PyPI testing package page.
- Upload the packages to the PyPI instance:
twine upload dist/*
Check the PyPI package page.