From 956c249ea2da2e505c4feac6228acb088f0dce5c Mon Sep 17 00:00:00 2001 From: zhanghan Date: Wed, 3 Sep 2025 14:21:26 +0800 Subject: [PATCH] upgrade version to v3.0 --- VERSION | 2 +- scripts/build.sh | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/VERSION b/VERSION index 76b426fd..2d0fb6b6 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -v2.1.1 \ No newline at end of file +v3.0 \ No newline at end of file diff --git a/scripts/build.sh b/scripts/build.sh index 98c4e9b5..8f5b2497 100755 --- a/scripts/build.sh +++ b/scripts/build.sh @@ -73,7 +73,7 @@ function build_backend() { echo "building server for ${1}..." mkdir -p ${version_path}/server - GOWORK=off CGO_ENABLED=0 GOOS=linux GOARCH=${1} go build -mod=vendor -tags=production -ldflags " \ + GOWORK=off CGO_ENABLED=0 GOOS=linux GOARCH=${1} go build -tags=production -ldflags " \ -X gitee.com/openeuler/PilotGo/cmd/server/app/network/controller.version=${VERSION} \ -X gitee.com/openeuler/PilotGo/cmd/server/app/network/controller.commit=${COMMIT} \ -X gitee.com/openeuler/PilotGo/cmd/server/app/network/controller.goVersion=${GO_VERSION} \ @@ -82,7 +82,7 @@ function build_backend() { echo "building agent for ${1}..." mkdir -p ${version_path}/agent - GOWORK=off CGO_ENABLED=0 GOOS=linux GOARCH=${1} go build -mod=vendor -o ${version_path}/agent/PilotGo-agent ./cmd/agent/main.go + GOWORK=off CGO_ENABLED=0 GOOS=linux GOARCH=${1} go build -o ${version_path}/agent/PilotGo-agent ./cmd/agent/main.go } function pack_tar() { -- Gitee