From 0ee0f61cde882abd105404e77f88359b398b3a21 Mon Sep 17 00:00:00 2001 From: Lin Manhui Date: Thu, 28 May 2026 20:40:26 +0900 Subject: [PATCH] Fix auto versioning (#18072) * Fix tag regex * Regex pattern * Add git describe command * No need for regex --- pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index 598cad7652..abf0fd8715 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -77,7 +77,7 @@ namespaces = false [tool.setuptools_scm] version_scheme = 'release-branch-semver' -tag_regex = "^api_sdk/go/v(?P.*)$" +git_describe_command = ["git", "describe", "--dirty", "--tags", "--long", "--match", "v[0-9]*"] [tool.pytest.ini_options] markers = [