From 4b52f1dd96241d12f5ff5149edd4c01e5f9a9336 Mon Sep 17 00:00:00 2001 From: "marvel.yu" Date: Tue, 3 Dec 2024 14:31:32 +0800 Subject: [PATCH] update for holesky build rule --- MakefileEc2.mk | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/MakefileEc2.mk b/MakefileEc2.mk index 39cf56334..8fa53be8f 100644 --- a/MakefileEc2.mk +++ b/MakefileEc2.mk @@ -21,3 +21,19 @@ build-bk-prod-morph-prod-mainnet-to-morph-tx-submitter: cp tx-submitter/tx-submitter dist/ tar -czvf tx-submitter.tar.gz dist aws s3 cp tx-submitter.tar.gz s3://morph-0582-morph-technical-department-mainnet-data/morph-setup/tx-submitter.tar.gz + +# build for holesky +build-bk-prod-morph-prod-testnet-to-morph-node-holesky: + if [ ! -d dist ]; then mkdir -p dist; fi + cd $(PWD)/node && make build + cp node/build/bin/morphnode dist/ + cp node/build/bin/tendermint dist/ + tar -czvf morph-node.tar.gz dist + aws s3 cp morph-node.tar.gz s3://morph-0582-morph-technical-department-testnet-data/testnet/holesky/morph-setup/morph-node.tar.gz + +build-bk-prod-morph-prod-testnet-to-morph-tx-submitter-holesky: + if [ ! -d dist ]; then mkdir -p dist; fi + env GO111MODULE=on CGO_LDFLAGS="-ldl" CGO_ENABLED=1 go build -v $(LDFLAGS) -o tx-submitter/tx-submitter ./tx-submitter/cmd + cp tx-submitter/tx-submitter dist/ + tar -czvf tx-submitter.tar.gz dist + aws s3 cp tx-submitter.tar.gz s3://morph-0582-morph-technical-department-testnet-data/testnet/holesky/morph-setup/tx-submitter.tar.gz