Maintaining
Notes for maintainers.
Making a new release
- Make sure you're on the main branch, and you've pulled all recently merged changes:
git pull origin main - Bump the version number in
pyproject.toml - Make an entry in
CHANGELOG.md - Commit this change:
git commit -am "Bumped version number, and updated changelog." - Push this change directly to main:
git push origin main - Delete everything in
dist/:rm -rf dist/ - Run
python -m build, which recreatesdist/ -
Tag the new release:
$ git tag vA.B.C$ git push origin vA.B.C
-
Push to PyPI:
-
View on PyPI: https://pypi.org/project/python-bugger/
Deleting branches
Delete the remote and local development branches:
Deleting tags
- See Git docs for more about tagging.
- See also GH docs about releases.