run `goma_ctl update_hook` in update_depot_tools

to make sure goma runs the latest version,
run `goma_ctl update_hook` in update_depot_tools

Bug: b/260864926
Change-Id: If8a6bc1b6e3b18339672dc26f609fab2d84aa987
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/4160794
Auto-Submit: Fumitoshi Ukai <ukai@google.com>
Reviewed-by: Bruce Dawson <brucedawson@chromium.org>
Reviewed-by: Takuto Ikuta <tikuta@chromium.org>
Reviewed-by: Gavin Mak <gavinmak@google.com>
Commit-Queue: Gavin Mak <gavinmak@google.com>
Reviewed-by: Junji Watanabe <jwata@google.com>
changes/94/4160794/3
Fumitoshi Ukai 2 years ago committed by LUCI CQ
parent 175767738f
commit 7879da9e9d

@ -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

@ -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"

Loading…
Cancel
Save