From ac7c25dde331a0289bcfb576871f3244f4d36894 Mon Sep 17 00:00:00 2001 From: Evan Chen Date: Mon, 8 Nov 2021 17:03:22 +0800 Subject: [PATCH] build: add build flag --- release.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/release.sh b/release.sh index 6515d32..9fc0e7c 100755 --- a/release.sh +++ b/release.sh @@ -9,7 +9,7 @@ HUB=hub.kumoly.io HUB_PROJECT=tools DIST=dist -LDFLAGS="-ldflags \"-X main.Version=${VERSION} -X main.Build=${BUILD} -w\"" +LDFLAGS="-ldflags \"-X main.Version=${VERSION} -X main.Build=${BUILD} -w -s\"" FAILURES="" PLATFORMS="darwin/amd64 darwin/arm64"