From 591df6439c886670facc979740ae97e8aaf8d857 Mon Sep 17 00:00:00 2001 From: fumiama Date: Fri, 22 Oct 2021 11:37:40 +0800 Subject: [PATCH] =?UTF-8?q?=E2=9C=A8=20=E6=9B=B4=E6=96=B0=20goreleaser?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .goreleaser.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.goreleaser.yml b/.goreleaser.yml index 5f2ea994..40ba5f80 100644 --- a/.goreleaser.yml +++ b/.goreleaser.yml @@ -1,3 +1,4 @@ +project_name: zbp env: - GO111MODULE=on before: @@ -26,7 +27,7 @@ builds: goarch: 386 mod_timestamp: "{{ .CommitTimestamp }}" flags: - - -trimpath -o zbp + - -trimpath ldflags: - -s -w - id: win @@ -40,7 +41,7 @@ builds: - amd64 mod_timestamp: "{{ .CommitTimestamp }}" flags: - - -trimpath -o zbp.exe + - -trimpath ldflags: - -s -w