Skip to content

Commit

Permalink
update thorchain chain.yaml config
Browse files Browse the repository at this point in the history
  • Loading branch information
misko9 committed Jul 25, 2024
1 parent ade9d02 commit 78dad89
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion chains.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1242,9 +1242,17 @@
github-organization: thorchain
github-repo: thornode
dockerfile: cosmos
build-target: make install
# Thorchain Makefile does not consume LDFLAGS env vars
build-target: |
COMMIT=$(git log -1 --format='%H' 2>/dev/null)
BRANCH=$(git rev-parse --abbrev-ref HEAD 2>/dev/null)
VERSION=$(cat version)
ldflags="-X gitlab.com/thorchain/thornode/constants.Version=${VERSION} -X gitlab.com/thorchain/thornode/constants.GitCommit=${COMMIT} -X github.com/cosmos/cosmos-sdk/version.Name=THORChain -X github.com/cosmos/cosmos-sdk/version.AppName=thornode -X github.com/cosmos/cosmos-sdk/version.Version=${VERSION} -X github.com/cosmos/cosmos-sdk/version.Commit=${COMMIT} -X github.com/cosmos/cosmos-sdk/version.BuildTags=${TAG} -buildid="
go install -tags=mocknet -ldflags="${ldflags} $LDFLAGS" ./cmd/thornode ./cmd/bifrost ./tools/generate
binaries:
- /go/bin/thornode
- /go/bin/bifrost
- /go/bin/generate
pre-build: |
apk --no-cache add findutils protoc && \
rm -rf /var/cache/apk/*
Expand Down

0 comments on commit 78dad89

Please sign in to comment.