From b097d1be02d2ba851f39f85ffc98ced1667352e7 Mon Sep 17 00:00:00 2001 From: a624669980 Date: Tue, 12 Oct 2021 23:15:56 +0800 Subject: [PATCH] =?UTF-8?q?=E5=9B=9E=E6=92=A4goreleaser?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .goreleaser.yml | 22 +++++++++++++++++++++- 1 file changed, 21 insertions(+), 1 deletion(-) diff --git a/.goreleaser.yml b/.goreleaser.yml index 0c2c33a..ed5d711 100644 --- a/.goreleaser.yml +++ b/.goreleaser.yml @@ -1,7 +1,27 @@ project_name: webdav # This is an example .goreleaser.yml file with some sensible defaults. # Make sure to check the documentation at https://goreleaser.com - +builds: + - env: + goos: + - linux + - windows + - darwin + - freebsd + goarch: + - amd64 + - 386 + - arm + - arm64 + goarm: + - 5 + - 6 + - 7 + ignore: + - goos: darwin + goarch: 386 + - goos: freebsd + goarch: arm archives: - name_template: "{{.Os}}-{{.Arch}}{{if .Arm}}v{{.Arm}}{{end}}-{{ .ProjectName }}" format: tar.gz