wg-quicker/.goreleaser.yml

50 lines
980 B
YAML

---
project_name: wg-quicker
gitea_urls:
api: https://git.xsfx.dev/api/v1/
builds:
- env:
- CGO_ENABLED=0
goarch:
- amd64
- arm
- arm64
- 386
goarm:
- 5
goos:
- linux
ldflags:
- "-s"
- "-w"
- "-extldflags '-static'"
- "-X go.xsfx.dev/wg-quicker/cmd.version={{.Version}}"
- "-X go.xsfx.dev/wg-quicker/cmd.commit={{.ShortCommit}}"
- "-X go.xsfx.dev/wg-quicker/cmd.date={{.Date}}"
hooks:
pre:
- make clean
- make generate GOARCH={{.Arch}}
archives:
- replacements:
darwin: macos
checksum:
name_template: "checksums.txt"
snapshot:
name_template: "{{ .Tag }}-next"
changelog:
sort: asc
filters:
exclude:
- "^docs:"
- "^test:"
nfpms:
- formats:
- apk
- deb
- rpm
replacements:
386: i386
homepage: https://git.xsfx.dev/xsteadfastx/wg-quicker
maintainer: Marvin Preuss <marvin@xsteadfastx.org>