From 7dfb7dfe2439445ddccf9f211df797d4cae47742 Mon Sep 17 00:00:00 2001 From: fumiama Date: Fri, 22 Oct 2021 11:20:01 +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 | 15 ++++----------- 1 file changed, 4 insertions(+), 11 deletions(-) diff --git a/.goreleaser.yml b/.goreleaser.yml index eb3b6917..5f2ea994 100644 --- a/.goreleaser.yml +++ b/.goreleaser.yml @@ -26,7 +26,7 @@ builds: goarch: 386 mod_timestamp: "{{ .CommitTimestamp }}" flags: - - -trimpath + - -trimpath -o zbp ldflags: - -s -w - id: win @@ -40,7 +40,7 @@ builds: - amd64 mod_timestamp: "{{ .CommitTimestamp }}" flags: - - -trimpath + - -trimpath -o zbp.exe ldflags: - -s -w @@ -59,13 +59,6 @@ changelog: - go mod tidy archives: - - id: binary - builds: - - win - name_template: "zbp_{{ .Os }}_{{ .Arch }}{{ if .Arm }}v{{ .Arm }}{{ end }}" - format_overrides: - - goos: windows - format: binary - id: nowin builds: - nowin @@ -77,9 +70,9 @@ archives: nfpms: - license: GPL 3.0 - homepage: https://go-cqhttp.org + homepage: https://github.com/FloatTech/ZeroBot-Plugin file_name_template: "zbp_{{ .Os }}_{{ .Arch }}{{ if .Arm }}v{{ .Arm }}{{ end }}" formats: - deb - rpm - maintainer: Kanri, DawnNights, Fumiama, Suika + maintainer: FloatTech