From 1ec033e225cd7a2de48f46f1a47966104407a212 Mon Sep 17 00:00:00 2001 From: shirou Date: Mon, 25 Apr 2022 13:04:16 +0000 Subject: [PATCH] add goreleaser --- .goreleaser.yaml | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 .goreleaser.yaml diff --git a/.goreleaser.yaml b/.goreleaser.yaml new file mode 100644 index 0000000..6419ba1 --- /dev/null +++ b/.goreleaser.yaml @@ -0,0 +1,28 @@ +before: + hooks: + - go mod tidy +builds: + - env: + - CGO_ENABLED=0 + goos: + - linux + - windows + - darwin + goarch: + - 386 + - amd64 + - arm64 + ignore: + - goos: darwin + goarch: 386 + - goos: windows + goarch: arm64 +archives: +- files: + - mqttcli_* +changelog: + sort: asc + filters: + exclude: + - '^docs:' + - '^test:' \ No newline at end of file