fscarmen【Sing-box 全家桶】
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
test/.goreleaser.yml

52 lines
959 B

project_name: Build wireguard-go
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: ./
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