Skip to content

Release

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

Clone this wiki locally