diff --git a/update_depot_tools b/update_depot_tools index b017e9ffa..6cb3500d0 100755 --- a/update_depot_tools +++ b/update_depot_tools @@ -143,6 +143,9 @@ if [ "X$DEPOT_TOOLS_UPDATE" != "X0" ]; then source "$base_dir/cipd_bin_setup.sh" cipd_bin_setup + # Restart goma if it is updated. + goma_ctl update_hook + # Don't bootstrap Python 3 on windows, since it is already done by # bootstrap/win_tools.bat. if [ "X$MINGW" != "X0" -a "X$DEPOT_TOOLS_BOOTSTRAP_PYTHON3" != "X0" ]; then diff --git a/update_depot_tools.bat b/update_depot_tools.bat index caf200a61..2787f408e 100644 --- a/update_depot_tools.bat +++ b/update_depot_tools.bat @@ -81,5 +81,8 @@ if errorlevel 1 ( :: Sync CIPD and CIPD client tools. call "%~dp0\cipd_bin_setup.bat" +:: Restart goma if it is updated. +call "%~dp0\goma_ctl.bat" update_hook + :: Update git and python call "%DEPOT_TOOLS_DIR%bootstrap\win_tools.bat"