From a46890bb0dda9e8baa42fcce7bd4513a9604e170 Mon Sep 17 00:00:00 2001 From: Eduardo Apolinario Date: Thu, 23 May 2024 18:19:45 -0700 Subject: [PATCH] Use a different git command to match the flyteidl tags Signed-off-by: Eduardo Apolinario --- flyteidl/pyproject.toml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/flyteidl/pyproject.toml b/flyteidl/pyproject.toml index 5ce9947f50..2274b1da2f 100644 --- a/flyteidl/pyproject.toml +++ b/flyteidl/pyproject.toml @@ -36,7 +36,8 @@ Homepage = "https://github.com/flyteorg/flyte/tree/master/flyteidl" [tool.setuptools_scm] root = "../" -tag_regex = '^(?:[\w-]+/)?(?P[vV]?\d+(?:\.\d+){0,2}[^\+]*)(?:\+.*)?$' +git_describe_command = "git describe --dirty --tags --long --match flyteidl/* --first-parent" +tag_regex = '^flyteidl/(?P[vV]?\d+(?:\.\d+){0,2}[^\+]*)(?:\+.*)?$' [tool.setuptools.packages.find] where = ["gen/pb_python"]