Skip to content

Latest commit

 

History

History
55 lines (38 loc) · 883 Bytes

RELEASE.md

File metadata and controls

55 lines (38 loc) · 883 Bytes

How To Release new version

(Notes to myself)

Prepare

  1. Commit latest changes to dev, and see if tests run through
  2. Increase version number (major.minor.patch):
bumpversion major
bumpversion minor
bumpversion patch

Merge

  1. Create pull request from master to dev
  2. See, if all tests ran through
  3. Merge branch

Tag version

  1. Tag version and push:
git checkout master
git pull
git tag v0.1.4
git push --tags
  1. Check if build ran through and window executable is working

Upload to pypi

  1. Clean & Build
rm -rf build dist
python setup.py sdist bdist_wheel
  1. Upload to pypi-test and test
twine upload --repository-url https://test.pypi.org/legacy/ dist/*
pip3 install --index-url https://test.pypi.org/simple/ --extra-index-url https://pypi.org/simple normcap
  1. Upload to pypi
twine upload dist/*