* Push recent commits using
bash
git push origin main
* Tag the release (optional - if you don't do it here then you must do
it via https://github.com/NCAS-CMS/cfdm/releases):
bash
./tag <vn> E.g. ./tag 1.10.0.0
* Upload the source tarball to PyPi. Note this requires the `twine`
library (which can be installed via `pip`) and relevant project
privileges on PyPi.
bash
./upload_to_pypi <vn> E.g. ./upload_to_pypi 1.10.0.0
* Update the GitHub releases page for the new version:
https://github.com/NCAS-CMS/cfdm/releases
* Upload the new release to Zenodo: https://zenodo.org/record/5521505
* Finally, move and commit the previously-generated archived copy of the documentation to https://github.com/NCAS-CMS/cfdm-docs (fork or clone that repo first):
bash
mv docs/<vn>/ ~/cfdm-docs/
cd ~/cfdm-docs/
git add <vn>/
Then commit and push to the NCAS-CMS repo (named origin or upstream as appropriate)