From f161bcbc3185d4570e9794dc5d257fb4637b766a Mon Sep 17 00:00:00 2001 From: wanghe-fit2cloud Date: Fri, 16 Jun 2023 18:35:57 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20goreleaser=20=E6=98=BE=E7=A4=BA=E5=A3=B0?= =?UTF-8?q?=E6=98=8E=20CGO=5FENABLED=3D0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .goreleaser.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.goreleaser.yaml b/.goreleaser.yaml index 0238a69c2..d9b66ddf4 100644 --- a/.goreleaser.yaml +++ b/.goreleaser.yaml @@ -16,6 +16,8 @@ builds: - -trimpath ldflags: - -w -s + env: + - CGO_ENABLED=0 goos: - linux goarm: