diff --git a/.goreleaser.yml b/.goreleaser.yml new file mode 100644 index 00000000..fc613c04 --- /dev/null +++ b/.goreleaser.yml @@ -0,0 +1,26 @@ +before: + hooks: + - go mod tidy +builds: + - env: + - CGO_ENABLED=0 + goos: + - darwin + - linux + goarch: + - amd64 + - arm64 + ldflags: + - -s -w +archives: + - name_template: "{{ .ProjectName }}_{{ .Os }}_{{ .Arch }}" +checksum: + name_template: 'checksums.txt' +snapshot: + name_template: "{{ .Tag }}-next" +changelog: + sort: asc + filters: + exclude: + - '^docs:' + - '^test:'