bin/deploy doesn't generate contracts or need a chain id
This commit is contained in:
@@ -7,15 +7,9 @@ else
|
||||
DEV=0
|
||||
fi
|
||||
|
||||
CHAIN_ID=${1:-11155111} # Defaults to Sepolia
|
||||
PROJECT=liquidity-party
|
||||
REMOTE=git.dxod.org/dexorder/dexorder
|
||||
|
||||
if [ "$BUILD" != "1" ] && [ "$CHAIN_ID" = "31337" ]; then
|
||||
echo bin/deploy must specify a production chain ID
|
||||
exit 1
|
||||
fi
|
||||
|
||||
if [ "$BUILD" != "1" ]; then
|
||||
if [ "$DEV" = "1" ]; then
|
||||
TAG="dev$(date +%Y%m%d%H%M%S)"
|
||||
@@ -32,7 +26,6 @@ else
|
||||
echo Building
|
||||
fi
|
||||
|
||||
bin/generate-contracts "$CHAIN_ID" || exit 1
|
||||
npm run build || exit 1
|
||||
|
||||
if [ "$BUILD" != "1" ]; then
|
||||
|
||||
Reference in New Issue
Block a user