diff --git a/.goreleaser.yaml b/.goreleaser.yaml index dd2c278..151e103 100644 --- a/.goreleaser.yaml +++ b/.goreleaser.yaml @@ -1,11 +1,4 @@ -# This is an example .goreleaser.yml file with some sensible defaults. -# Make sure to check the documentation at https://goreleaser.com -before: - hooks: - # You may remove this if you don't use go modules. - - go mod tidy - # you may remove this if you don't need go generate - - go generate ./... +--- builds: - env: - CGO_ENABLED=0 @@ -13,22 +6,17 @@ builds: - linux - windows - darwin - goarch: - - amd64 - - arm64 + ignore: + - goos: windows + goarch: 386 + - goos: linux + goarch: 386 archives: - replacements: darwin: Darwin linux: Linux windows: Windows amd64: x86_64 -checksum: - name_template: 'checksums.txt' -snapshot: - name_template: "{{ incpatch .Version }}-next" -changelog: - sort: asc - filters: - exclude: - - '^docs:' - - '^test:' + format_overrides: + - goos: windows + format: zip