diff --git a/.gitignore b/.gitignore index 80e850b..38e0d34 100644 --- a/.gitignore +++ b/.gitignore @@ -4,4 +4,5 @@ *.log *.exe cover.out -vendor/ \ No newline at end of file +vendor/ +/dist/ diff --git a/.goreleaser.yml b/.goreleaser.yml new file mode 100644 index 0000000..4c0c51d --- /dev/null +++ b/.goreleaser.yml @@ -0,0 +1,26 @@ +# Make sure to check the documentation at http://goreleaser.com +before: + hooks: + - go mod tidy +builds: + - env: + - CGO_ENABLED=0 + goos: + - linux + - windows + - darwin + goarch: + - 386 + - amd64 + - arm + - arm64 +checksum: + name_template: 'checksums.txt' +snapshot: + name_template: "{{ .Tag }}-next" +changelog: + sort: asc + filters: + exclude: + - '^docs:' + - '^test:'