From e44655a9b2ab6ca310a8120692ade3749c9bdd56 Mon Sep 17 00:00:00 2001 From: otherview Date: Mon, 22 Jan 2024 18:35:48 +0000 Subject: [PATCH] sort out the yarn pkg mismatch --- deploy.sh | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/deploy.sh b/deploy.sh index d9ddb44..e647dcd 100755 --- a/deploy.sh +++ b/deploy.sh @@ -129,9 +129,10 @@ echo -e "${obscuro_constants_file}" > src/obscuro_constants_1.ts cat src/obscuro_constants.ts |tail -n+4>> src/obscuro_constants_1.ts mv src/obscuro_constants_1.ts src/obscuro_constants.ts cp -f "${uniswap_sor_path}/uniswap-smart-order-router-2.9.3.tgz" . -yarn install --update-checksums -echo "yarn install --update-checksums && yarn build && serve -s build -l 80 -n" -yarn install --update-checksums && yarn build && serve -s build -l 80 -n +# Double install to sort out the yarn.lock missmatch +yarn install --update-checksums || true \ + && yarn install --update-checksums && yarn build \ + && serve -s build -l 80 -n