General release instructions
----------------------------

# make sure we're up to data
- git fetch refnx
- git checkout main
- git rebase refnx/main
- git clean -xdf (no detritus left over)

# a feature branch for the release
- git checkout -B <feature name>
- if necessary bump version number in pyproject.toml, but only do it once
- For an unreleased version it is: version = "0.1.62.dev0"
  For a released version it is: version = "0.1.62"
- git commit -a -m'REL: vX.Y.Z'
- git push origin <feature name>

# once the CI has passed
- merge the feature branch
- git fetch refnx
- git checkout main
- git rebase refnx/main

# tag the release and put it onto github
# with the automated release process this should be done automatically
- git tag -a vX.Y.Z
- git push refnx vX.Y.Z

# Epilogue
- git checkout main
- bump version number in pyproject.toml, create new section in CHANGELOG.
- git commit -a -m'MAINT: bump version number [ci skip]'
- git push refnx main
