From 30bea9f93c61268d912509bb211513963ff1e84f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=B8=96=E7=95=8C?= Date: Mon, 19 Aug 2024 18:58:17 +0800 Subject: [PATCH] Temporarily set -checklinkname=0 to fix tfo-go not not being allowed to build with go1.23 --- .goreleaser.yaml | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/.goreleaser.yaml b/.goreleaser.yaml index 64c23c9d..a6b19554 100644 --- a/.goreleaser.yaml +++ b/.goreleaser.yaml @@ -7,7 +7,10 @@ builds: - -v - -trimpath ldflags: - - -X github.com/sagernet/sing-box/constant.Version={{ .Version }} -s -w -buildid= + - -X github.com/sagernet/sing-box/constant.Version={{ .Version }} + - -s + - -buildid= + - -checklinkname=0 tags: - with_gvisor - with_quic @@ -46,6 +49,10 @@ builds: - with_reality_server - with_acme - with_clash_api + ldflags: + - -X github.com/sagernet/sing-box/constant.Version={{ .Version }} + - -s + - -buildid= env: - CGO_ENABLED=0 - GOROOT={{ .Env.GOPATH }}/go1.20.14