Add `with_reality_server` to release build tags

This commit is contained in:
世界 2023-03-20 17:36:59 +08:00
parent 4baff5aeb1
commit f680d0acaf
No known key found for this signature in database
GPG Key ID: CD109927C34A63C4
2 changed files with 2 additions and 1 deletions

View File

@ -16,6 +16,7 @@ builds:
- with_quic
- with_wireguard
- with_utls
- with_reality_server
- with_clash_api
env:
- CGO_ENABLED=0

View File

@ -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