From f680d0acaf15b45d7c3230dff937eeca2af21372 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=B8=96=E7=95=8C?= Date: Mon, 20 Mar 2023 17:36:59 +0800 Subject: [PATCH] Add `with_reality_server` to release build tags --- .goreleaser.yaml | 1 + Dockerfile | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.goreleaser.yaml b/.goreleaser.yaml index 8904966e..4068cd05 100644 --- a/.goreleaser.yaml +++ b/.goreleaser.yaml @@ -16,6 +16,7 @@ builds: - with_quic - with_wireguard - with_utls + - with_reality_server - with_clash_api env: - CGO_ENABLED=0 diff --git a/Dockerfile b/Dockerfile index 0867a067..ee7d6ed3 100644 --- a/Dockerfile +++ b/Dockerfile @@ -9,7 +9,7 @@ RUN set -ex \ && apk add git build-base \ && export COMMIT=$(git rev-parse --short HEAD) \ && export VERSION=$(go run ./cmd/internal/read_tag) \ - && go build -v -trimpath -tags with_quic,with_wireguard,with_acme \ + && go build -v -trimpath -tags with_quic,with_wireguard,with_reality_server,with_acme \ -o /go/bin/sing-box \ -ldflags "-X \"github.com/sagernet/sing-box/constant.Version=$VERSION\" -s -w -buildid=" \ ./cmd/sing-box