- Follow this instructions to automatically release pergola in the github repository and
pypi
.
-
Check that tests are passing:
python pergola/test/test_all.py
-
Update
pergola/_version.py
with the current version (e.g. 0.2.0)__ version__ = "0.2.0"
-
Tag the version in local
git tag -a 0.2.0 -m "Version 0.2.0"
-
Check that the tag is correctly updated in local
git describe
-
Push to the GitHub repository:
git push --follow-tags
-
Check that the version has been released in (pypi)[https://pypi.org/project/pergola/]