From fd3ae3c8bf94852b2507c8618cbec937c8abe0bf Mon Sep 17 00:00:00 2001 From: WintBit Date: Sun, 22 Sep 2024 13:24:17 +0800 Subject: [PATCH] fix: ci checkout --- build.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build.sh b/build.sh index fd01b6e67be7..0f82e47b327a 100755 --- a/build.sh +++ b/build.sh @@ -15,4 +15,4 @@ commitOffset=$(git rev-list $version..HEAD --count) ldflags="-w -s -X 'util.version=$version' -X 'util.commit=$commit' -X 'util.commitOffset=$commitOffset'" -CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -trimpath -ldflags=$ldflags -o server_linux_amd64 . +CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -trimpath -ldflags="$ldflags" -o server_linux_amd64 .