Skip to content

Latest commit

 

History

History
57 lines (46 loc) · 1.03 KB

RELEASING.md

File metadata and controls

57 lines (46 loc) · 1.03 KB

Releasing lingrex

  • Do platform test via tox:

    tox -r
  • test if the workflow scripts still work:

    pytest -m"workflow"
  • Make sure statement coverage >= 99%

  • Use black and flake8 to make the code unified:

    flake8 src
    black src/lingrex/*.py
  • Update the version number, by removing the trailing .dev0 in:

    • setup.cfg
    • src/lingrex/__init__.py
  • Check metadata in .zenodo.json

  • 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:

    rm dist/*
    python setup.py sdist bdist_wheel
    twine upload dist/*
  • Push to github:

    git push origin
    git push --tags
  • Change version for the next release cycle, i.e. incrementing and adding .dev0

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

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