Skip to content

Latest commit

 

History

History
55 lines (44 loc) · 978 Bytes

RELEASING.md

File metadata and controls

55 lines (44 loc) · 978 Bytes

Releasing cldfzenodo

  • Do platform test via tox:

    tox -r
  • Do integration testing, making sure the Zenodo API still behaves as expected:

    pytest -m"integration"
  • Make sure flake8 passes:

    flake8 src
  • Update the version number, by removing the trailing .dev0 in:

    • setup.cfg
    • src/cldfzenodo/__init__.py
    • 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:

    rm dist/*
    python -m build -n
    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/cldfzenodo/__init__.py
  • Commit/push the version change:

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