From f5da0b7b3f63090352fb5c6ae63de39487e40f6c Mon Sep 17 00:00:00 2001 From: liu-hm19 Date: Wed, 21 Aug 2024 16:09:26 +0800 Subject: [PATCH] fix: add rpc tag for builds in goreleaser (#1275) --- .goreleaser.yml | 2 ++ .goreleaser_informal.yml | 2 ++ 2 files changed, 4 insertions(+) diff --git a/.goreleaser.yml b/.goreleaser.yml index 17d907d9b..b928b0753 100644 --- a/.goreleaser.yml +++ b/.goreleaser.yml @@ -16,6 +16,8 @@ builds: goarch: - amd64 - arm64 + flags: + - -tags=rpc # ldflags="-s -w" removes the symbol table and debugging information to reduce the size of the release package ldflags: - -s diff --git a/.goreleaser_informal.yml b/.goreleaser_informal.yml index 5497545ec..3e4582932 100644 --- a/.goreleaser_informal.yml +++ b/.goreleaser_informal.yml @@ -16,6 +16,8 @@ builds: goarch: - amd64 - arm64 + flags: + - -tags=rpc # ldflags="-s -w" removes the symbol table and debugging information to reduce the size of the release package ldflags: - -s