-
-
Notifications
You must be signed in to change notification settings - Fork 34
Release
Jitse Niesen edited this page Mar 4, 2017
·
10 revisions
- Generate changelog: Run
loghub spyder-ide/spyder-unittest --milestone vx.y.z - Edit changelog and commit
- Bump version number in
spyder_unittest/__init__.py - Create source distribution: Run
python setup.py sdistin root - Create wheel: Run
python setup.py bdist_wheel - Test wheel: Uninstall current plugin and run
pip install dist/spyder_unittest-xxx.whl - Check that
dist/contains only the source distribution and wheel that you want to upload - Upload to PyPI: Run
twine upload dist/* - Test: Uninstall current plugin and run
pip install spyder-unittest - Compute hash: Run
sha256sum dist/spyder_unittest-x.y.z.tar.gz - Update version number and hash in
conda.recipe/meta.yaml - Test building conda package locally: Run
conda build conda.recipe - Commit
spyder_unittest/__init__.pyandconda.recipe/meta.yamland push tospyder-iderepo - Change version number in
spyder_unittest/__init__.pyto....dev0, commit and push - Copy
meta.yamlto fork ofspyder-unittest-feedstockand submit PR - When automatic tests on PR finish successfully, merge PR
- Wait for CI to build Conda package
- Copy:
anaconda copy conda-forge/spyder-unittest/x.y.z --to-owner spyder-ide - Test Conda package: Uninstall current plugin and run
conda install -c spuder-ide spyder-unittest - Create a version tag on commit with version
x.y.z: Rungit tag -a vx.y.z commit_id - Push version tag: Run
git push remote_name vx.y.z - Use GitHub to edit tag and publish release
- Announce release on Google Groups