Open-source LLM knowledge platform: turn raw documents into a queryable RAG, an autonomous reasoning agent, and a self-maintaining Wiki.
Go agentagenticaichatbotdsh-pluginembeddingsevaluationgenerative-aigolangknowledge-basellmmulti-tenantollamaopenaiquestion-answeringragrerankingsemantic-searchvector-searchwiki
fix: Get version script
wizardchen9756b4aa82b5
diff --git a/.github/workflows/docker-image.yml b/.github/workflows/docker-image.ymlindex aef205fe2..2a0ef34f0 100644--- a/.github/workflows/docker-image.yml+++ b/.github/workflows/docker-image.yml@@ -52,7 +52,7 @@ jobs:id: versionrun: |# 使用统一的版本管理脚本- eval $(./scripts/get_version.sh env)+ eval "$(./scripts/get_version.sh env)"echo "version=$VERSION" >> $GITHUB_OUTPUTecho "commit_id=$COMMIT_ID" >> $GITHUB_OUTPUTdiff --git a/scripts/get_version.sh b/scripts/get_version.shindex af781b4d4..12b459f62 100755--- a/scripts/get_version.sh+++ b/scripts/get_version.sh@@ -39,11 +39,11 @@ fi# 根据参数输出不同格式case "${1:-env}" in"env")- # 输出环境变量格式+ # 输出环境变量格式,对包含空格的值进行转义echo "VERSION=$VERSION"echo "COMMIT_ID=$COMMIT_ID"- echo "BUILD_TIME=$BUILD_TIME"- echo "GO_VERSION=$GO_VERSION"+ echo "BUILD_TIME=\"$BUILD_TIME\""+ echo "GO_VERSION=\"$GO_VERSION\"";;"json")# 输出JSON格式