Fix VERSION

This commit is contained in:
Zhichang Yu
2024-12-07 16:56:34 +08:00
parent 44d4686b20
commit e267a026f3
3 changed files with 2 additions and 18 deletions

View File

@ -120,7 +120,7 @@ RUN --mount=type=cache,id=ragflow_npm,target=/root/.npm,sharing=locked \
COPY .git /ragflow/.git
RUN version_info=$(git describe --tags --match=v* --always); \
RUN version_info=$(git describe --tags --match=v* --first-parent --always); \
if [ "$LIGHTEN" == "1" ]; then \
version_info="$version_info slim"; \
else \