From ce8d0971cbfa17ebc9e587519e778ce4f93db4eb Mon Sep 17 00:00:00 2001 From: kienvc Date: Sun, 12 Nov 2023 14:22:21 +0700 Subject: [PATCH] fix ldflags --- .goreleaser.yaml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.goreleaser.yaml b/.goreleaser.yaml index 35e8345b..4ff2aa2c 100644 --- a/.goreleaser.yaml +++ b/.goreleaser.yaml @@ -19,10 +19,10 @@ builds: - -s -w - -X github.com/cosmos/cosmos-sdk/version.Name=aura - -X github.com/cosmos/cosmos-sdk/version.AppName=aurad - - -X github.com/cosmos/cosmos-sdk/version.Version=$(.Env.VERSION) - - -X github.com/cosmos/cosmos-sdk/version.Commit=$(.Env.COMMIT) - - -X github.com/cometbft/cometbft/version.TMCoreSemVer=$(.Env.BFT_VERSION) - - -X github.com/cosmos/cosmos-sdk/version.BuildTags=$(.Env.BUILD_TAGS_COMMA_SEP) + - -X github.com/cosmos/cosmos-sdk/version.Version={{ .Env.VERSION }} + - -X github.com/cosmos/cosmos-sdk/version.Commit={{ .Env.COMMIT }} + - -X github.com/cometbft/cometbft/version.TMCoreSemVer={{ .Env.BFT_VERSION }} + - -X github.com/cosmos/cosmos-sdk/version.BuildTags={{ .Env.BUILD_TAGS_COMMA_SEP }} - -linkmode=external - -extldflags '-Wl,-z,muldefs --static -lm' tags: