- Set the new version in
pyproject.toml
. make lock
make tests
export VERSION=<new version>
git add -p && git ci -m "release $VERSION"
git push origin main
and wait for GitHub Actions to pass the build.git tag $VERSION
git push --tags
The Action should build & test the package, and then upload it to PyPI. Then, automatically create a new GitHub Release with generated changelog. After the Action is done, go to https://github.com/Pylons/pyramid_openapi3/releases/, and edit the latest release to remove cleanup/unnecessary items from the description.