mirror of
https://github.com/bestnite/sub2sing-box.git
synced 2025-10-28 09:33:57 +00:00
workflow: fix goreleaser config and containerfile
This commit is contained in:
@@ -1,3 +1,4 @@
|
||||
version: 2
|
||||
project_name: sub2sing-box
|
||||
builds:
|
||||
- env:
|
||||
@@ -9,16 +10,15 @@ builds:
|
||||
goarch:
|
||||
- amd64
|
||||
- arm64
|
||||
- arm
|
||||
- "386"
|
||||
ldflags:
|
||||
- -s -w -X github.com/nitezs/sub2sing-box/constant.Version={{ .Version }}
|
||||
- -s -w -X github.com/bestnite/sub2sing-box/constant.Version={{ .Version }}
|
||||
flags:
|
||||
- -trimpath
|
||||
archives:
|
||||
- format: tar.gz
|
||||
- formats: ["tar.gz"]
|
||||
format_overrides:
|
||||
- format: zip
|
||||
- formats: ["zip"]
|
||||
goos: windows
|
||||
wrap_in_directory: true
|
||||
files:
|
||||
@@ -30,3 +30,16 @@ release:
|
||||
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
|
||||
|
||||
Reference in New Issue
Block a user