ocpp
ocpp copied to clipboard
use the library version number to publish to pypi, create a git tag and define a github release
trafficstars
Changes included in this PR
Depending on the project release process, hopefully this change to the publish-to-pypi github workflow will keep things consistent. After the project is published to pypi based on the version number in pyproject.toml, the same value is used to create a tag and a github release.
Impact
Keeps the version number consistent across pypi, git tag and github release by using the version number from pyproject.toml.
Checklist
tested additional functionality separately in a different repo, but since I don't have access to publish to pypi, I can't test the full flow.