xcaddy/.goreleaser.yml

76 lines
1 KiB
YAML
Raw Normal View History

before:
hooks:
- go mod download
builds:
- env:
- CGO_ENABLED=0
- GO111MODULE=on
main: main.go
dir: ./cmd/xcaddy
binary: xcaddy
goos:
- darwin
- linux
- windows
- freebsd
goarch:
- amd64
- arm
- arm64
- s390x
- ppc64le
goarm:
- 5
- 6
- 7
ignore:
- goos: darwin
goarch: arm
- goos: darwin
goarch: ppc64le
- goos: darwin
goarch: s390x
- goos: windows
goarch: ppc64le
- goos: windows
goarch: s390x
- goos: freebsd
goarch: ppc64le
- goos: freebsd
goarch: s390x
- goos: freebsd
goarch: arm
goarm: 5
flags:
- -trimpath
ldflags:
- -s -w
archives:
- format_overrides:
- goos: windows
format: zip
replacements:
darwin: mac
checksum:
algorithm: sha512
release:
github:
owner: caddyserver
name: xcaddy
draft: false
prerelease: auto
changelog:
sort: asc
filters:
exclude:
- '^readme:'
- '^chore:'
- '^ci:'
- '^docs?:'
- '^tests?:'