OpenCyphal / pycyphal

Python implementation of the Cyphal protocol stack.
https://pycyphal.readthedocs.io/
MIT License
117 stars 106 forks source link

Fix release automation #240

Closed pavel-kirienko closed 1 year ago

pavel-kirienko commented 1 year ago

This bit here:

https://github.com/OpenCyphal/pycyphal/blob/1225a864a09863ba2c77f109376036a2a9be9162/.appveyor.yml#L107

...needs to be replaced with something like this:

git tag "$(python -c 'from pycyphal._version import __version__; print(__version__)')"
pavel-kirienko commented 1 year ago

Okay @silverv, one way to fix the new failure is:

PYTHONPATH=pycyphal git tag "$(python -c 'from _version import __version__; print(__version__)')"