Skip to content

Commit

Permalink
Use a different git command to match the flyteidl tags (#5419)
Browse files Browse the repository at this point in the history
Signed-off-by: Eduardo Apolinario <[email protected]>
Co-authored-by: Eduardo Apolinario <[email protected]>
  • Loading branch information
eapolinario and eapolinario authored May 24, 2024
1 parent 470621e commit 5f9abaf
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion flyteidl/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,8 @@ Homepage = "https://github.com/flyteorg/flyte/tree/master/flyteidl"

[tool.setuptools_scm]
root = "../"
tag_regex = '^(?:[\w-]+/)?(?P<version>[vV]?\d+(?:\.\d+){0,2}[^\+]*)(?:\+.*)?$'
git_describe_command = "git describe --dirty --tags --long --match flyteidl/* --first-parent"
tag_regex = '^flyteidl/(?P<version>[vV]?\d+(?:\.\d+){0,2}[^\+]*)(?:\+.*)?$'

[tool.setuptools.packages.find]
where = ["gen/pb_python"]
Expand Down

0 comments on commit 5f9abaf

Please sign in to comment.