When releasing a new version, the following steps should be taken:
-
Make sure the package metadata in
pyproject.tomlis up-to-date.poetry check -
Make sure all automated tests pass:
poetry run pytest -
Bump the version of the package
poetry version -- X.Y.Z -
Update the CHANGELOG.md
-
Commit and sign the changes:
git add -u # CHANGELOG.md pyproject.toml git commit -v -s -m "Release version X.Y.Z" -
Create a signed release tag:
git tag -a -s vX.Y.Z -m "Version X.Y.Z" -
Push the changes and the release to Github:
git push --follow-tags -
Publish the release on PyPI:
poetry publish --build -
Send an email to the pysaml2 list announcing this release