Clone dlce-eva/python-newick and switch to the master branch. Then:
-
Do platform test via tox:
$ tox -r
Make sure statement coverage is at 100%
-
Make sure flake8 passes::
$ flake8 src
-
Change the version to the new version number in
setup.cfgsrc/newick.py- and note changes in
CHANGELOG.md
-
Create the release commit:
git commit -a -m "release <VERSION>"- Create a release tag:
git tag -a v<VERSION> -m "<VERSION> release"- Release to PyPI:
git checkout tags/v<VERSION>
rm dist/*
python -m build -n
twine upload dist/*- Push to github:
git push origin
git push --tags origin-
Append
.dev0to the version number for the new development cycle insetup.cfgsrc/newick.py
-
Commit/push the version change:
git commit -a -m "bump version for development"
git push origin