From fbc32fd41ec5633edd2336a01209225a6b4c837a Mon Sep 17 00:00:00 2001 From: ducphamle2 Date: Sat, 21 Sep 2024 00:04:10 -0700 Subject: [PATCH] chore: fix clone production binary --- scripts/e2e-upgrade.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/e2e-upgrade.sh b/scripts/e2e-upgrade.sh index d9c29f20..d747e20f 100755 --- a/scripts/e2e-upgrade.sh +++ b/scripts/e2e-upgrade.sh @@ -18,7 +18,7 @@ pkill oraid && sleep 2 # download current production binary current_dir=$PWD -rm -rf ../../orai-old/ && git clone https://github.com/oraichain/orai.git ../../orai-old && cd ../../orai-old/orai && git checkout $OLD_VERSION && go mod tidy && GOTOOLCHAIN=go1.21.4 make install +rm -rf ../../orai-old/ && git clone --branch $OLD_VERSION --single-branch https://github.com/oraichain/orai.git ../../orai-old && cd ../../orai-old/orai && go mod tidy && GOTOOLCHAIN=go1.21.4 make install cd $current_dir