Skip to content

Latest commit

 

History

History
23 lines (23 loc) · 1.63 KB

RELEASE.md

File metadata and controls

23 lines (23 loc) · 1.63 KB
  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. Remove non-versioned files: Run git clean -xfdi
  5. Create source distribution: Run python setup.py sdist in root
  6. Check that source distribution does not contain any unnecessary files (e.g., cache, .pyc)
  7. Create wheel: Run python setup.py bdist_wheel
  8. Test wheel: Uninstall current plugin and run pip install dist/spyder_unittest-xxx.whl
  9. Check that dist/ contains only the source distribution and wheel that you want to upload
  10. Upload to PyPI: Run twine upload dist/*
  11. Test: Uninstall current plugin and run pip install spyder-unittest
  12. Commit spyder_unittest/__init__.py
  13. Create a version tag on above commit: Run git tag -a vx.y.z
  14. Change version number in spyder_unittest/__init__.py to ....dev0 and commit and push
  15. If building conda package:
    1. Wait for bot to submit PR or edit meta.yaml in fork of spyder-unittest-feedstock, changing version number and hash computed with sha256sum dist/spyder_unittest-x.y.z.tar.gz, test with conda build conda.recipe, and submit PR
    2. When automatic tests on PR finish successfully, merge PR
    3. Wait for CI to build Conda package
    4. Copy: anaconda copy conda-forge/spyder-unittest/x.y.z --to-owner spyder-ide
    5. Test Conda package: Uninstall current plugin and run conda install -c spuder-ide spyder-unittest
  16. Push commits and version tag to spyder-ide repo: Run git push remote_name vx.y.z
  17. Use GitHub to edit tag and publish release
  18. Announce release on Google Groups