traveltime-dev / traveltime-python-sdk

TravelTime SDK for Python programming language
https://docs.traveltime.com/
MIT License
20 stars 5 forks source link

Take version information from git #126

Closed pawel-wroniszewski closed 4 months ago

pawel-wroniszewski commented 4 months ago

In the current build pipeline, when a release is made, we create a git tag, but the version of the Python package is taken from the traveltimepy/version.py file, which needs to be manually updated as well. Instead of this, let's use setuptools_scm to take the version from the git tag - we will have one source of truth, instead of two.

Reference: https://github.com/traveltime-dev/traveltime-google-comparison/pull/2