diff --git a/python/pyproject.toml b/python/pyproject.toml index 46a0d9fd1..b4d16069a 100755 --- a/python/pyproject.toml +++ b/python/pyproject.toml @@ -171,6 +171,7 @@ exclude = [ [tool.setuptools_scm] root = ".." version_file = "sglang/_version.py" +git_describe_command = ["git", "describe", "--tags", "--long", "--match", "v*"] [tool.codespell] ignore-words-list = "ans, als, hel, boostrap, childs, te, vas, hsa, ment" diff --git a/python/pyproject_cpu.toml b/python/pyproject_cpu.toml index 5d0de642d..10df8a5f1 100644 --- a/python/pyproject_cpu.toml +++ b/python/pyproject_cpu.toml @@ -132,6 +132,7 @@ exclude = [ [tool.setuptools_scm] root = ".." version_file = "sglang/_version.py" +git_describe_command = ["git", "describe", "--tags", "--long", "--match", "v*"] [tool.codespell] ignore-words-list = "ans, als, hel, boostrap, childs, te, vas, hsa, ment" diff --git a/python/pyproject_other.toml b/python/pyproject_other.toml index 70780e714..13c7a03bb 100755 --- a/python/pyproject_other.toml +++ b/python/pyproject_other.toml @@ -171,6 +171,7 @@ exclude = [ [tool.setuptools_scm] root = ".." version_file = "sglang/_version.py" +git_describe_command = ["git", "describe", "--tags", "--long", "--match", "v*"] [tool.codespell] ignore-words-list = "ans, als, hel, boostrap, childs, te, vas, hsa, ment" diff --git a/python/pyproject_xpu.toml b/python/pyproject_xpu.toml index 850ce1ecd..fda33b0fa 100644 --- a/python/pyproject_xpu.toml +++ b/python/pyproject_xpu.toml @@ -136,6 +136,7 @@ exclude = [ [tool.setuptools_scm] root = ".." version_file = "sglang/_version.py" +git_describe_command = ["git", "describe", "--tags", "--long", "--match", "v*"] [tool.codespell] ignore-words-list = "ans, als, hel, boostrap, childs, te, vas, hsa, ment"