Create .goreleaser.yml

dependabot/github_actions/actions/checkout-3.1.0
fscarmen 4 years ago committed by GitHub
parent 4aa72f12cf
commit ff8152c6b0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 51
      .goreleaser.yml

@ -0,0 +1,51 @@
before:
hooks:
- go mod tidy -v
builds:
- env:
- CGO_ENABLED=0
ldflags:
- -s -w -X main.version={{.Version}} -X main.arch={{.Arch}}
goos:
- linux
- windows
- darwin
goarch:
- arm
- arm64
- 386
- amd64
- mips
- mipsle
- s390x
- riscv64
gomips:
- softfloat
ignore:
- goos: windows
goarch: arm
- goos: windows
goarch: arm64
main: ./wireguard-go
binary: wireguard-go
universal_binaries:
- name_template: "wireguard-go"
replace: false
checksum:
name_template: "checksums.txt"
snapshot:
name_template: "wireguard-go"
archives:
- name_template: "wireguard-go_{{ .Os }}_{{ .Arch }}"
files:
- none*
changelog:
sort: asc
filters:
exclude:
- "^docs:"
- "^test:"
- "^chore"
- Merge pull request
- Merge branch
- go mod tidy
Loading…
Cancel
Save