-
Notifications
You must be signed in to change notification settings - Fork 97
Creating a new release
Jakub Kaczmarzyk edited this page Apr 15, 2020
·
9 revisions
Follow PEP 440.
- Create a new branch
maint/x.y.z. - Update the examples in
README.md(use the new version) - Build wheel (
python setup.py bdist_wheel) - Test installation of wheel in fresh python3 docker container
- Fix any issues and redo previous step
- Merge the branch into master.
- Tag master branch
neurodocker version x.y.z- Use
git tag -a -m 'neurodocker version x.y.z' x.y.z
- Use
- Rebuild the wheel with
python setup.py bdist_wheel - Upload wheel to PyPi with
twine upload dist/* - Build new Docker container and upload to DockerHub
- Remove the
maint/x.y.zbranch. We won't maintain old version, just release new ones.
Adapted from scikit-learn's wiki.