Skip to content

Latest commit

 

History

History
61 lines (49 loc) · 933 Bytes

RELEASING.md

File metadata and controls

61 lines (49 loc) · 933 Bytes

Releasing csvw

  • Do platform test via tox:
tox -r
  • Make sure flake8 passes:
flake8 src
  • Make sure docs can be created:
cd docs
make clean html
cd ..
  • Update the version number, by removing the trailing .dev0 in:

    • setup.cfg
    • src/csvw/__init__.py
    • docs/conf.py
  • Edit CHANGES

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

    • src/csvw/__init__.py
    • setup.cfg
    • docs/conf.py
  • Commit/push the version change:

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