xcaddy/.goreleaser.yml

92 lines
1.3 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
nfpms:
- id: default
package_name: xcaddy
vendor: Light Code Labs
homepage: https://caddyserver.com
maintainer: Matthew Holt <mholt@users.noreply.github.com>
description: |
Build Caddy with plugins
license: Apache 2.0
formats:
- deb
# - rpm
bindir: /usr/bin
release:
github:
owner: caddyserver
name: xcaddy
draft: false
prerelease: auto
changelog:
sort: asc
filters:
exclude:
- '^readme:'
- '^chore:'
- '^ci:'
- '^docs?:'
- '^tests?:'