mirror of
https://github.com/overleaf/toolkit.git
synced 2025-04-19 07:18:06 +02:00
Merge remote-tracking branch 'origin/jpa-relaunch-bin-upgrade' into jpa-msm-overleaf-rc-rebrand
# Conflicts: # bin/upgrade
This commit is contained in:
commit
38c387da19
1 changed files with 8 additions and 1 deletions
|
@ -216,6 +216,8 @@ function handle_git_update() {
|
||||||
echo "Current commit is $current_commit"
|
echo "Current commit is $current_commit"
|
||||||
echo "Updating code..."
|
echo "Updating code..."
|
||||||
git -C "$TOOLKIT_ROOT" pull origin "$current_branch"
|
git -C "$TOOLKIT_ROOT" pull origin "$current_branch"
|
||||||
|
echo "Relaunching bin/upgrade after code update"
|
||||||
|
exec $0 --skip-git-update
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
@ -231,7 +233,12 @@ function __main__() {
|
||||||
usage && exit
|
usage && exit
|
||||||
fi
|
fi
|
||||||
|
|
||||||
handle_git_update
|
if [[ "${1:-null}" == "--skip-git-update" ]]; then
|
||||||
|
echo "Skipping git update"
|
||||||
|
else
|
||||||
|
handle_git_update
|
||||||
|
fi
|
||||||
|
|
||||||
read_seed_image_version
|
read_seed_image_version
|
||||||
read_image_version
|
read_image_version
|
||||||
handle_rc_rebranding
|
handle_rc_rebranding
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue