remove unused option
Signed-off-by: microwavedcola1 <microwavedcola@gmail.com>
This commit is contained in:
parent
fa815f1c75
commit
62641dcbe8
|
@ -16,17 +16,13 @@ cp -v ./target/types/mango_v4.ts ./ts/client/src/mango_v4.ts
|
|||
|
||||
(cd ./ts/client && yarn tsc)
|
||||
|
||||
if [[ -z "${NO_DEPLOY}" ]]; then
|
||||
# publish program
|
||||
solana --url https://mango.devnet.rpcpool.com program deploy --program-id $PROGRAM_ID \
|
||||
-k $WALLET_WITH_FUNDS target/deploy/mango_v4.so --skip-fee-check
|
||||
# publish program
|
||||
solana --url https://mango.devnet.rpcpool.com program deploy --program-id $PROGRAM_ID \
|
||||
-k $WALLET_WITH_FUNDS target/deploy/mango_v4.so --skip-fee-check
|
||||
|
||||
# # publish idl
|
||||
cargo run -p anchor-cli -- idl upgrade --provider.cluster https://mango.devnet.rpcpool.com --provider.wallet $WALLET_WITH_FUNDS \
|
||||
--filepath target/idl/mango_v4.json $PROGRAM_ID
|
||||
else
|
||||
echo "Skipping deployment..."
|
||||
fi
|
||||
# # publish idl
|
||||
cargo run -p anchor-cli -- idl upgrade --provider.cluster https://mango.devnet.rpcpool.com --provider.wallet $WALLET_WITH_FUNDS \
|
||||
--filepath target/idl/mango_v4.json $PROGRAM_ID
|
||||
|
||||
|
||||
# build npm package
|
||||
|
|
|
@ -16,17 +16,13 @@ cp -v ./target/types/mango_v4.ts ./ts/client/src/mango_v4.ts
|
|||
|
||||
(cd ./ts/client && yarn tsc)
|
||||
|
||||
if [[ -z "${NO_DEPLOY}" ]]; then
|
||||
# publish program
|
||||
solana --url $MB_CLUSTER_URL program deploy --program-id $PROGRAM_ID \
|
||||
-k $WALLET_WITH_FUNDS target/deploy/mango_v4.so
|
||||
# publish program
|
||||
solana --url $MB_CLUSTER_URL program deploy --program-id $PROGRAM_ID \
|
||||
-k $WALLET_WITH_FUNDS target/deploy/mango_v4.so
|
||||
|
||||
# publish idl
|
||||
cargo run -p anchor-cli -- idl upgrade --provider.cluster $MB_CLUSTER_URL --provider.wallet $WALLET_WITH_FUNDS \
|
||||
--filepath target/idl/mango_v4.json $PROGRAM_ID
|
||||
else
|
||||
echo "Skipping deployment..."
|
||||
fi
|
||||
# publish idl
|
||||
cargo run -p anchor-cli -- idl upgrade --provider.cluster $MB_CLUSTER_URL --provider.wallet $WALLET_WITH_FUNDS \
|
||||
--filepath target/idl/mango_v4.json $PROGRAM_ID
|
||||
|
||||
|
||||
# build npm package
|
||||
|
|
Loading…
Reference in New Issue