Skip to content

Release

Jitse Niesen edited this page Feb 5, 2017 · 10 revisions
  1. Bump version number in spyder_unittest/__init__.py
  2. Create source distribution: Run python setup.py sdist in root
  3. Create wheel: Run python setup.py bdist_wheel
  4. Test wheel: Uninstall current plugin and run pip install dist/spyder_unittest-xxx.whl
  5. Check that dist/ contains only the source distribution and wheel that you want to upload
  6. Upload to PyPI: Run twine upload dist/*
  7. Test: Uninstall current plugin and run pip install spyder-unittest
  8. Compute hash: Run sha256sum dist/spyder_unittest-x.y.z.tar.gz
  9. Update version number and hash in conda.recipe/meta.yaml
  10. Test building conda package locally: Run conda build conda.recipe
  11. Commit spyder_unittest/__init__.py and conda.recipe/meta.yaml and push to spyder-ide repo
  12. Change version number in spyder_unittest/__init__.py to ....dev0, commit and push
  13. Copy meta.yaml to fork of spyder-unittest-feedstock and submit PR
  14. When automatic tests on PR finish successfully, merge PR
  15. Wait for CI to build Conda package
  16. Copy: anaconda copy conda-forge/spyder-unittest/x.y.z --to-owner spyder-ide
  17. Test Conda package: Uninstall current plugin and run conda install -c spuder-ide spyder-unittest
  18. Create a version tag on commit with version x.y.z: Run git tag -a vx.y.z commit_id
  19. Push version tag: Run git push remote_name vx.y.z
  20. Use GitHub to edit tag and publish release
  21. Announce release on Google Groups

Clone this wiki locally