Skip to content

Commit

Permalink
Build both celestia node and celestia app (#190)
Browse files Browse the repository at this point in the history
  • Loading branch information
agouin authored Nov 4, 2023
1 parent afb1485 commit 3cabd18
Showing 1 changed file with 14 additions and 1 deletion.
15 changes: 14 additions & 1 deletion chains.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -304,8 +304,21 @@
binaries:
- /usr/local/bin/carbond

# Celestia
# Celestia App
- name: celestia
github-organization: celestiaorg
github-repo: celestia-app
dockerfile: cosmos
build-target: |
VERSION := $(shell echo $(shell git describe --tags 2>/dev/null || git log -1 --format='%h') | sed 's/^v//')
COMMIT=$(git log -1 --format='%H')
LDFLAGS="$LDFLAGS -X github.com/cosmos/cosmos-sdk/version.Name=celestia-app -X github.com/cosmos/cosmos-sdk/version.AppName=celestia-appd -X github.com/cosmos/cosmos-sdk/version.Version=$VERSION -X github.com/cosmos/cosmos-sdk/version.Commit=$COMMIT"
go install -ldflags="$LDFLAGS" ./cmd/celestia-appd
binaries:
- /go/bin/celestia-appd

# Celestia Node
- name: celestia-node
github-organization: celestiaorg
github-repo: celestia-node
dockerfile: cosmos
Expand Down

0 comments on commit 3cabd18

Please sign in to comment.