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

Merge pull request #33 from shirou/feature/update_install_method

add goreleaser
This commit is contained in:
shirou 2022-04-25 22:05:44 +09:00 committed by GitHub
commit 147bedd52f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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