From fd7fb267dde32c794fc6f72ada12cf9165495c45 Mon Sep 17 00:00:00 2001 From: henryzhx8 Date: Tue, 9 Apr 2024 09:29:59 +0800 Subject: [PATCH] fix plugin alarm with default version (#1443) --- scripts/plugin_build.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/plugin_build.sh b/scripts/plugin_build.sh index a5e27a32a6..088acd2986 100755 --- a/scripts/plugin_build.sh +++ b/scripts/plugin_build.sh @@ -31,7 +31,7 @@ VERSION=${4:-2.0.0} PLUGINS_CONFIG_FILE=${5:-${PLUGINS_CONFIG_FILE:-plugins.yml,external_plugins.yml}} GO_MOD_FILE=${6:-${GO_MOD_FILE:-go.mod}} NAME=ilogtail -LDFLAGS="${GO_LDFLAGS:-}"' -X "github.com/alibaba/ilogtail/pluginmanager.BaseVersion='$VERSION'"' +LDFLAGS="${GO_LDFLAGS:-}"' -X "github.com/alibaba/ilogtail/pkg/config.BaseVersion='$VERSION'"' BUILD_FLAG=${BUILD_FLAG:-} os