1
0
mirror of https://github.com/nitezs/sub2sing-box.git synced 2024-12-23 15:04:41 -05:00
sub2sing-box/.goreleaser.yaml
2024-11-06 18:38:59 +08:00

33 lines
558 B
YAML
Executable File

project_name: sub2sing-box
builds:
- env:
- CGO_ENABLED=0
goos:
- windows
- linux
- darwin
goarch:
- amd64
- arm64
- arm
- "386"
ldflags:
- -s -w -X github.com/nitezs/sub2sing-box/constant.Version={{ .Version }}
flags:
- -trimpath
archives:
- format: tar.gz
format_overrides:
- format: zip
goos: windows
wrap_in_directory: true
files:
- LICENSE
- README.md
- templates
release:
draft: true
upx:
- enabled: true
compress: best