diff --git a/.gitignore b/.gitignore index 87441f5..598477c 100644 --- a/.gitignore +++ b/.gitignore @@ -31,3 +31,5 @@ go.work # End of https://www.toptal.com/developers/gitignore/api/go dist/ + +dist/ diff --git a/.goreleaser.yaml b/.goreleaser.yaml new file mode 100644 index 0000000..4b4a183 --- /dev/null +++ b/.goreleaser.yaml @@ -0,0 +1,29 @@ +before: + hooks: + - go mod tidy +builds: + - env: + - CGO_ENABLED=0 + goos: + - linux + - windows + - darwin +archives: + - name_template: "{{.ProjectName}}_{{.Tag}}_{{.Os}}_{{.Arch}}" + replacements: + darwin: macos + 386: i386 + amd64: x86_64 + format_overrides: + - goos: windows + format: zip +checksum: + name_template: 'checksums.txt' +snapshot: + name_template: "{{ incpatch .Version }}-next" +changelog: + sort: asc + filters: + exclude: + - '^docs:' + - '^test:'