make script work with main branch

Signed-off-by: Uncle Stretch <uncle.stretch@ghostchain.io>
This commit is contained in:
Uncle Stretch 2026-02-03 22:30:34 +03:00
parent cdc14c5ed1
commit 0a762388d7
Signed by: str3tch
GPG Key ID: 84F3190747EE79AA

View File

@ -82,8 +82,8 @@ extract_seed() {
downgrade_compiler_if_needed() { downgrade_compiler_if_needed() {
echo "[+] fetching the latest ghost-node source code" echo "[+] fetching the latest ghost-node source code"
#git switch main git switch main
#git pull origin main git pull origin main
# 1.86.0 works fine, tested with: # 1.86.0 works fine, tested with:
# 1.87.0 throws errors during compilation # 1.87.0 throws errors during compilation
@ -231,8 +231,8 @@ if [[ $HARD_RESET = true ]]; then
sudo rm -rf "$BASE_PATH/chains/casper_staging_testnet" sudo rm -rf "$BASE_PATH/chains/casper_staging_testnet"
cd $PROJECT_FOLDER cd $PROJECT_FOLDER
#git switch main git switch main
#git pull origin main git pull origin main
echo "[+] starting build in 3 seconds..." echo "[+] starting build in 3 seconds..."
sleep 3 sleep 3
cargo build --release cargo build --release