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

update goreleaser to compile more platforms.

This commit is contained in:
shirou 2022-04-25 13:37:05 +00:00
parent 147bedd52f
commit 3f4aa9b6d2

View File

@ -8,21 +8,32 @@ builds:
- linux - linux
- windows - windows
- darwin - darwin
- freebsd
- netbsd
- openbsd
goarch: goarch:
- 386 - 386
- amd64 - amd64
- arm64 - arm64
goarm:
- 6
- 7
ignore: ignore:
- goos: darwin - goos: darwin
goarch: 386 goarch: 386
- goos: windows # - goos: windows
goarch: arm64 # goarch: arm64
archives: archives:
- files: - format: binary
- mqttcli_* name_template: '{{ .Binary }}_{{ .Os }}_{{ .Arch }}{{ if .Arm }}v{{ .Arm }}{{ end }}'
files:
- mqttcli_*
format_overrides:
- goos: windows
format: zip
changelog: changelog:
sort: asc sort: asc
filters: filters:
exclude: exclude:
- '^docs:' - '^docs:'
- '^test:' - '^test:'