Skip to content

Creating a new release

Jakub Kaczmarzyk edited this page Jun 11, 2018 · 9 revisions

Follow PEP 440.

  1. Create a new branch maint/x.y.z.
  2. Change the version number in neurodocker/version.py
  3. Update the examples in README.md
  4. Build wheel (python setup.py bdist_wheel)
  5. Test installation of wheel in fresh python3 docker container
    • Fix any issues and redo previous step
  6. Tag x.y.z branch as neurodocker version x.y.z
    • Use git tag -a -m 'neurodocker version x.y.z' x.y.z
  7. Upload wheel file to PyPi with twine upload dist/*
  8. Build new Docker container and upload to DockerHub

Adapted from scikit-learn's wiki.

Clone this wiki locally