From 208389d26f99ef752bc97a977dd8db487ce62935 Mon Sep 17 00:00:00 2001 From: Jason Ross Date: Thu, 6 Dec 2018 23:04:26 -0500 Subject: [PATCH] added goreleaser config --- .gitignore | 2 ++ .goreleaser.yml | 30 ++++++++++++++++++++++++++++++ 2 files changed, 32 insertions(+) create mode 100644 .goreleaser.yml diff --git a/.gitignore b/.gitignore index f1c181e..9193b32 100644 --- a/.gitignore +++ b/.gitignore @@ -10,3 +10,5 @@ # Output of the go coverage tool, specifically when used with LiteIDE *.out + +.DS_Store diff --git a/.goreleaser.yml b/.goreleaser.yml new file mode 100644 index 0000000..c4f6ac3 --- /dev/null +++ b/.goreleaser.yml @@ -0,0 +1,30 @@ +before: + hooks: +builds: +- + main: ./main.go + binary: ws + env: + - CGO_ENABLED=0 + goos: + - darwin + - linux + - windows + goarch: + - amd64 + - 386 + - arm + - arm64 + ignore: + - goos: darwin + goarch: 386 +checksum: + name_template: 'checksums.txt' +snapshot: + name_template: "{{ .Tag }}-next" +changelog: + sort: asc + filters: + exclude: + - '^docs:' + - '^test:'