From 1eb25c7b55e1821d502a9467798825e5d060e180 Mon Sep 17 00:00:00 2001 From: YANGJINZE <91786638+KincaidYang@users.noreply.github.com> Date: Thu, 15 May 2025 12:25:43 +0800 Subject: [PATCH] =?UTF-8?q?ci/cd:=20=E6=96=B0=E5=A2=9E=E6=B5=81=E6=B0=B4?= =?UTF-8?q?=E7=BA=BF=E8=87=AA=E5=8A=A8=E6=89=93=E5=8C=85?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .goreleaser.yml | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 .goreleaser.yml diff --git a/.goreleaser.yml b/.goreleaser.yml new file mode 100644 index 0000000..9ee79eb --- /dev/null +++ b/.goreleaser.yml @@ -0,0 +1,31 @@ +# .goreleaser.yml +version: 2 +release: + disable: false +archives: + - format: tar.gz + name_template: "{{ .ProjectName }}_{{ .Version }}_{{ .Os }}_{{ .Arch }}" + files: + - LICENSE + - README.md + - config.yaml +checksum: + name_template: "{{ .ProjectName }}_{{ .Version }}_checksums.txt" +builds: + - env: + - CGO_ENABLED=0 + goos: + - linux + - darwin + - windows + goarch: + - "386" + - amd64 + - arm + - arm64 + - ppc64 + goarm: + - "7" + ignore: + - goos: windows + goarch: arm