- Change version number and doc dropdown options. E.g. 46104c8
- Change the version number from
0.0.X dev
to0.0.X
in mne-nirs/mne_nirs/_version.py - Add new version to mne-nirs/doc/conf.py by changing
html_context, versions_dropdown
. Remove the stable tag from previous version and add this version as'v0.0.X': 'v0.0.X (stable)',
- Modify the changelog.md and rename the
-dev
from most recent changes
- Change the version number from
- Push change and wait for PR checks to go green.
- Merge PR and wait for checks to go green.
- Clone main branch locally.
git clone git@github.com:mne-tools/mne-nirs.git
- Create release locally by
pip install twine
rm -rf dist
python setup.py sdist
twine upload dist/*
- Create a release in GitHub interface which also creates a git tag
- Bump version to dev naming and regenerate docs (e.g. 6393b6dfc6).
- Change the version number from
0.0.X
to0.0.X+1 dev
in mne-nirs/mne_nirs/_version.py - Set docs to build all versions in conf.py by setting
smv_tag_whitelist = r'^v\d+\.\d+.\d+$'
- Change the version number from
- Commit which rebuild all docs
- Set docs to build current version only in conf.py by setting
smv_tag_whitelist = None
- Commit
Done!