From 53baf63220baa03d5e0035fefb7c4d68f4b97520 Mon Sep 17 00:00:00 2001 From: Ichinose Shogo Date: Tue, 20 Jul 2021 22:30:42 +0900 Subject: [PATCH] add configure file for goreleaser --- .gitignore | 3 ++- .goreleaser.yml | 26 ++++++++++++++++++++++++++ 2 files changed, 28 insertions(+), 1 deletion(-) create mode 100644 .goreleaser.yml 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:'