[ROCm][Build] Filter crate tags from vLLM version detection (#57744)

Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Signed-off-by: reidliu41 <reid201711@gmail.com>
This commit is contained in:
Reid
2026-09-25 03:06:05 +00:00
committed by GitHub
co-authored by mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
parent 4d79d5c638
commit 8b365ff949
3 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -135,7 +135,7 @@ RUN --mount=type=cache,id=vllm-rocm-uv,target=/root/.cache/uv \
cd ${COMMON_WORKDIR}/vllm \
&& uv pip install --system -r requirements/build/rust.txt \
&& python3 -c \
"from setuptools_scm import get_version; print(get_version())" \
"from setuptools_scm import get_version; print(get_version(git_describe_command=['git', 'describe', '--dirty', '--tags', '--long', '--abbrev=40', '--match', 'v[0-9]*']))" \
> /vllm-version.txt
# -----------------------
+1 -1
View File
@@ -135,7 +135,7 @@ RUN --mount=type=cache,id=vllm-rocm-uv,target=/root/.cache/uv \
cd ${COMMON_WORKDIR}/vllm \
&& uv pip install --system -r requirements/build/rust.txt \
&& python3 -c \
"from setuptools_scm import get_version; print(get_version())" \
"from setuptools_scm import get_version; print(get_version(git_describe_command=['git', 'describe', '--dirty', '--tags', '--long', '--abbrev=40', '--match', 'v[0-9]*']))" \
> /vllm-version.txt
# -----------------------
+1 -1
View File
@@ -136,7 +136,7 @@ RUN --mount=type=cache,id=vllm-rocm-uv,target=/root/.cache/uv \
cd ${COMMON_WORKDIR}/vllm \
&& uv pip install --system -r requirements/build/rust.txt \
&& python3 -c \
"from setuptools_scm import get_version; print(get_version())" \
"from setuptools_scm import get_version; print(get_version(git_describe_command=['git', 'describe', '--dirty', '--tags', '--long', '--abbrev=40', '--match', 'v[0-9]*']))" \
> /vllm-version.txt
# -----------------------