Skip to content

Creating a new release

Jakub Kaczmarzyk edited this page Apr 15, 2020 · 9 revisions

Follow PEP 440.

  1. Create a new branch maint/x.y.z.
  2. Update the examples in README.md (use the new version)
  3. Build wheel (python setup.py bdist_wheel)
  4. Test installation of wheel in fresh python3 docker container
    • Fix any issues and redo previous step
  5. Merge the branch into master.
  6. Tag master branch neurodocker version x.y.z
    • Use git tag -a -m 'neurodocker version x.y.z' x.y.z
  7. Rebuild the wheel with python setup.py bdist_wheel
  8. Upload wheel to PyPi with twine upload dist/*
  9. Build new Docker container and upload to DockerHub
  10. Remove the maint/x.y.z branch. We won't maintain old version, just release new ones.

Adapted from scikit-learn's wiki.

Clone this wiki locally