1
0
mirror of https://github.com/shirou/mqttcli.git synced 2025-04-24 13:48:57 +08:00

add goreleaser

This commit is contained in:
shirou 2022-04-25 13:04:16 +00:00
parent 4e547d4df9
commit 1ec033e225

28
.goreleaser.yaml Normal file
View File

@ -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:'