diff --git a/tools_webrtc/version_updater/update_version.py b/tools_webrtc/version_updater/update_version.py index 8674f3643a..6cefb3f9c6 100644 --- a/tools_webrtc/version_updater/update_version.py +++ b/tools_webrtc/version_updater/update_version.py @@ -29,6 +29,8 @@ def FindSrcDirPath(): UPDATE_BRANCH_NAME = 'webrtc_version_update' CHECKOUT_SRC_DIR = FindSrcDirPath() +NOTIFY_EMAIL = 'mbonadei@webrtc.org' + def _RemovePreviousUpdateBranch(): active_branch, branches = _GetBranches() @@ -126,11 +128,12 @@ def _UploadCL(commit_queue_mode): - 0: Skip CQ, upload only. """ cmd = ['git', 'cl', 'upload', '--force', '--bypass-hooks', - '--cc=""', '--bypass-watchlist'] + '--bypass-watchlist'] if commit_queue_mode >= 2: logging.info('Sending the CL to the CQ...') cmd.extend(['-o', 'label=Bot-Commit+1']) cmd.extend(['-o', 'label=Commit-Queue+2']) + cmd.extend(['--send-mail', '--cc', NOTIFY_EMAIL]) elif commit_queue_mode >= 1: logging.info('Starting CQ dry run...') cmd.extend(['-o', 'label=Commit-Queue+1'])