Skip to content

Latest commit

 

History

History
63 lines (50 loc) · 1.05 KB

File metadata and controls

63 lines (50 loc) · 1.05 KB

Releasing cdstarcat

Clone clld/cdstarcat and switch to the master branch. Then:

  • Do platform test via tox:
tox -r
  • Do integration test running:
python test_integration.py
  • Make sure flake8 passes::
flake8 src/
  • Make sure pylint passes with a score of 10:
pylint src/
  • Change version to the new version number in

    • setup.cfg
    • src/cdstarcat/init.py
    • CHANGELOG.md
  • Commit your change of the version number:

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 origin
  • Increment the version number and append .dev0 to start the new development cycle:

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

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