- Bump version in
src/marshmallow/__init__.py
and update the changelog with today's date. - Commit:
git commit -m "Bump version and update changelog"
- Tag the commit:
git tag x.y.z
- Push:
git push --tags origin dev
. CI will take care of the PyPI release. - If it's a 3.0 pre-release, merge
dev
into3.0
and push.
git checkout 3.0
git merge dev
git push origin 3.0
- Add release notes on Tidelift.