jumpstarter-dev / jumpstarter

http://docs.jumpstarter.dev/
3 stars 3 forks source link

Use dynamic versioning from git in python wheels #92

Closed mangelajo closed 1 month ago

mangelajo commented 1 month ago

This change uses hatch-vcs to dynamically inject the wheel versions based on the git tags/commit/etc.

Related-To: https://github.com/jumpstarter-dev/jumpstarter/issues/87

NickCao commented 1 month ago

Generated version numbers looks good

❯ ls dist/
jumpstarter-0.0.1.dev3+g04e6ce1.d20240926-py3-none-any.whl
jumpstarter-0.0.1.dev3+g04e6ce1.d20240926.tar.gz
jumpstarter_driver_can-0.0.1.dev3+g04e6ce1.d20240926-py3-none-any.whl
jumpstarter_driver_can-0.0.1.dev3+g04e6ce1.d20240926.tar.gz
jumpstarter_driver_dutlink-0.0.1.dev3+g04e6ce1.d20240926-py3-none-any.whl
jumpstarter_driver_dutlink-0.0.1.dev3+g04e6ce1.d20240926.tar.gz
jumpstarter_driver_raspberrypi-0.0.1.dev3+g04e6ce1.d20240926-py3-none-any.whl
jumpstarter_driver_raspberrypi-0.0.1.dev3+g04e6ce1.d20240926.tar.gz
jumpstarter_driver_ustreamer-0.0.1.dev3+g04e6ce1.d20240926-py3-none-any.whl
jumpstarter_driver_ustreamer-0.0.1.dev3+g04e6ce1.d20240926.tar.gz