1
0
mirror of https://github.com/nitezs/sub2sing-box.git synced 2024-12-23 21:54:42 -05:00
sub2sing-box/.goreleaser.pre.yaml
2024-04-17 21:27:40 +08:00

31 lines
528 B
YAML

project_name: sub2sing-box
builds:
- env:
- CGO_ENABLED=0
goos:
- windows
- linux
- darwin
goarch:
- amd64
- arm64
- arm
- "386"
ldflags:
- -s -w -X sub2sing-box/main.Version={{ .Version }}
flags:
- -trimpath
no_unique_dist_dir: true
archives:
- format: tar.gz
format_overrides:
- format: zip
goos: windows
wrap_in_directory: true
files:
- LICENSE
- README.md
- templates
release:
prerelease: true