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

40 lines
651 B
YAML
Raw Permalink Normal View History

2022-04-25 13:04:16 +00:00
before:
hooks:
- go mod tidy
builds:
- env:
- CGO_ENABLED=0
goos:
- linux
- windows
- darwin
- freebsd
- netbsd
- openbsd
2022-04-25 13:04:16 +00:00
goarch:
- 386
- amd64
- arm64
goarm:
- 6
- 7
2022-04-25 13:04:16 +00:00
ignore:
- goos: darwin
goarch: 386
# - goos: windows
# goarch: arm64
2022-04-25 13:04:16 +00:00
archives:
- format: binary
name_template: '{{ .Binary }}_{{ .Os }}_{{ .Arch }}{{ if .Arm }}v{{ .Arm }}{{ end }}'
files:
- mqttcli_*
format_overrides:
- goos: windows
format: zip
2022-04-25 13:04:16 +00:00
changelog:
sort: asc
filters:
exclude:
- '^docs:'
- '^test:'