Skip to content
This repository was archived by the owner on Mar 13, 2025. It is now read-only.

Latest commit

 

History

History
55 lines (44 loc) · 970 Bytes

File metadata and controls

55 lines (44 loc) · 970 Bytes

Releasing python-newick

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.cfg
    • src/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 .dev0 to the version number for the new development cycle in

    • setup.cfg
    • src/newick.py
  • Commit/push the version change:

git commit -a -m "bump version for development"
git push origin