github.com/sagernet/sing-box@v1.9.0-rc.20/.goreleaser.fury.yaml (about) 1 project_name: sing-box 2 builds: 3 - id: main 4 main: ./cmd/sing-box 5 flags: 6 - -v 7 - -trimpath 8 ldflags: 9 - -X github.com/sagernet/sing-box/constant.Version={{ .Version }} -s -w -buildid= 10 tags: 11 - with_gvisor 12 - with_quic 13 - with_dhcp 14 - with_wireguard 15 - with_ech 16 - with_utls 17 - with_reality_server 18 - with_acme 19 - with_clash_api 20 env: 21 - CGO_ENABLED=0 22 targets: 23 - linux_386 24 - linux_amd64_v1 25 - linux_arm64 26 - linux_arm_7 27 - linux_s390x 28 - linux_riscv64 29 mod_timestamp: '{{ .CommitTimestamp }}' 30 snapshot: 31 name_template: "{{ .Version }}.{{ .ShortCommit }}" 32 nfpms: 33 - &template 34 id: package 35 package_name: sing-box 36 file_name_template: '{{ .ProjectName }}_{{ .Version }}_{{ .Os }}_{{ .Arch }}{{ with .Arm }}v{{ . }}{{ end }}{{ with .Mips }}_{{ . }}{{ end }}{{ if not (eq .Amd64 "v1") }}{{ .Amd64 }}{{ end }}' 37 builds: 38 - main 39 vendor: sagernet 40 homepage: https://sing-box.sagernet.org/ 41 maintainer: nekohasekai <contact-git@sekai.icu> 42 description: The universal proxy platform. 43 license: GPLv3 or later 44 formats: 45 - deb 46 - rpm 47 priority: extra 48 contents: 49 - src: release/config/config.json 50 dst: /etc/sing-box/config.json 51 type: config 52 - src: release/config/sing-box.service 53 dst: /usr/lib/systemd/system/sing-box.service 54 - src: release/config/sing-box@.service 55 dst: /usr/lib/systemd/system/sing-box@.service 56 - src: LICENSE 57 dst: /usr/share/licenses/sing-box/LICENSE 58 deb: 59 signature: 60 key_file: "{{ .Env.NFPM_KEY_PATH }}" 61 fields: 62 Bugs: https://github.com/SagerNet/sing-box/issues 63 rpm: 64 signature: 65 key_file: "{{ .Env.NFPM_KEY_PATH }}" 66 conflicts: 67 - sing-box-beta 68 - id: package_beta 69 <<: *template 70 package_name: sing-box-beta 71 file_name_template: '{{ .ProjectName }}-beta_{{ .Version }}_{{ .Os }}_{{ .Arch }}{{ with .Arm }}v{{ . }}{{ end }}{{ with .Mips }}_{{ . }}{{ end }}{{ if not (eq .Amd64 "v1") }}{{ .Amd64 }}{{ end }}' 72 formats: 73 - deb 74 - rpm 75 conflicts: 76 - sing-box 77 release: 78 disable: true 79 furies: 80 - account: sagernet 81 ids: 82 - package 83 disable: "{{ not (not .Prerelease) }}" 84 - account: sagernet 85 ids: 86 - package_beta 87 disable: "{{ not .Prerelease }}"