mozilla-ai / lumigator

Source code for Mozilla.ai's Lumigator platform
https://mozilla-ai.github.io/lumigator/
Apache License 2.0
63 stars 7 forks source link

Check tag consistency as a requirement to publishing #425

Open javiermtorres opened 8 hours ago

javiermtorres commented 8 hours ago

What's changing

A semver tag starting with 'v' will trigger publishing to PyPI, but only if the version in the pyproject.toml files from SDK and schemas match with the git tag.

How to test it

Make a commit and git-tag it with a semver tag (e.g. v0.0.0) that does not match with the contents of the pyproject.toml files either the lumigator/python/mzai/sdk or lumigator/python/mzai/schemas directories. The publishing step should trigger but fail.

Additional notes for reviewers

N/A

I already...