mirror of
https://github.com/infiniflow/ragflow.git
synced 2025-12-08 20:42:30 +08:00
Fix VERSION
This commit is contained in:
@ -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*", "--always"])
|
||||
subprocess.check_output(["git", "describe", "--tags", "--match=v*", "--first-parent", "--always"])
|
||||
.strip()
|
||||
.decode("utf-8")
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user