make script work with main branch
Signed-off-by: Uncle Stretch <uncle.stretch@ghostchain.io>
This commit is contained in:
parent
cdc14c5ed1
commit
0a762388d7
@ -82,8 +82,8 @@ extract_seed() {
|
||||
|
||||
downgrade_compiler_if_needed() {
|
||||
echo "[+] fetching the latest ghost-node source code"
|
||||
#git switch main
|
||||
#git pull origin main
|
||||
git switch main
|
||||
git pull origin main
|
||||
|
||||
# 1.86.0 works fine, tested with:
|
||||
# 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"
|
||||
|
||||
cd $PROJECT_FOLDER
|
||||
#git switch main
|
||||
#git pull origin main
|
||||
git switch main
|
||||
git pull origin main
|
||||
echo "[+] starting build in 3 seconds..."
|
||||
sleep 3
|
||||
cargo build --release
|
||||
|
||||
Loading…
Reference in New Issue
Block a user