Skip to content

Latest commit

 

History

History
56 lines (32 loc) · 845 Bytes

DEVELOPMENT.md

File metadata and controls

56 lines (32 loc) · 845 Bytes

Publishing

Pre-requisites

Register an account with PyPi (please enable MFA for your account)

Create a PyPi API token

Install twine

pip3 install twine

Releasing a new version

Checkout branch

Write code, tests, and documentation

Submit code for review

Once code has been approved, merge branch

Checkout master branch

Update setup.py with the new version (following semvar)

Create release artificats

python3 setup.py sdist bdist_wheel

Upload to pypi

twine upload dist/*

Tag release in Github

git tag -a 2.2.0 -m "Release support for reading and writing basic notes."
git push origin 2.2.0

Verify you can download the newly published version

pip3 install e3db==X.Y.Z