Skip to content

Commit

Permalink
ci: remove single quotes wrap from GORELEASER_LD_FLAGS
Browse files Browse the repository at this point in the history
fixes issue with goreleaser not passing link flag
causing akash version to return empty string

Signed-off-by: Artur Troian <troian.ap@gmail.com>
  • Loading branch information
troian committed Oct 21, 2020
1 parent f18d4ef commit 153234e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -51,11 +51,11 @@ else
endif

GORELEASER_FLAGS = -tags="$(GORELEASER_BUILD_TAGS)"
GORELEASER_LD_FLAGS = '-s -w -X github.com/cosmos/cosmos-sdk/version.Name=akash \
GORELEASER_LD_FLAGS = -s -w -X github.com/cosmos/cosmos-sdk/version.Name=akash \
-X github.com/cosmos/cosmos-sdk/version.AppName=akash \
-X "github.com/cosmos/cosmos-sdk/version.BuildTags=$(GORELEASER_BUILD_TAGS)" \
-X github.com/cosmos/cosmos-sdk/version.BuildTags="$(GORELEASER_BUILD_TAGS)" \
-X github.com/cosmos/cosmos-sdk/version.Version=$(shell git describe --tags --abbrev=0) \
-X github.com/cosmos/cosmos-sdk/version.Commit=$(shell git log -1 --format='%H')'
-X github.com/cosmos/cosmos-sdk/version.Commit=$(shell git log -1 --format='%H')

ldflags = -X github.com/cosmos/cosmos-sdk/version.Name=akash \
-X github.com/cosmos/cosmos-sdk/version.AppName=akash \
Expand Down

0 comments on commit 153234e

Please sign in to comment.