Skip to content

RAGFlow is an agent-native database: a Retrieval-Augmented Generation (RAG) engine that grew into context infrastructure.

Fix VERSION

Zhichang Yue69e6b22747a
diff --git a/Dockerfile b/Dockerfile
index 03ba0bd704..05eb4ccbc7 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -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* --dirty --always); \
+RUN version_info=$(git describe --tags --match=v* --always); \
if [ "$LIGHTEN" == "1" ]; then \
version_info="$version_info slim"; \
else \
diff --git a/api/versions.py b/api/versions.py
index 73b0a60b1c..a1f170d427 100644
--- a/api/versions.py
+++ b/api/versions.py
@@ -43,7 +43,7 @@ def get_closest_tag_and_count():
try:
# Get the current commit hash
version_info = (
- subprocess.check_output(["git", "describe", "--tags", "--match=v*", "--dirty", "--always"])
+ subprocess.check_output(["git", "describe", "--tags", "--match=v*", "--always"])
.strip()
.decode("utf-8")
)