Files
sub2sing-box/.goreleaser.yaml

46 lines
832 B
YAML
Executable File

version: 2
project_name: sub2sing-box
builds:
- env:
- CGO_ENABLED=0
goos:
- windows
- linux
- darwin
goarch:
- amd64
- arm64
- "386"
ldflags:
- -s -w -X github.com/bestnite/sub2sing-box/constant.Version={{ .Version }}
flags:
- -trimpath
archives:
- formats: ["tar.gz"]
format_overrides:
- formats: ["zip"]
goos: windows
wrap_in_directory: true
files:
- LICENSE
- README.md
- templates
release:
draft: true
upx:
- enabled: true
compress: best
nfpms:
- id: sub2sing-box
homepage: https://github.com/bestnite/sub2sing-box
maintainer: Nite <admin@nite07.com>
license: "MIT"
formats:
- apk
- deb
- rpm
- termux.deb
- archlinux
provides:
- sub2sing-box