Remove reference to an old branch.
Bug: webrtc:13788 Change-Id: I628b27f3b26aaaf77824cdadca0089e43f0e976b Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/253781 Reviewed-by: Mirko Bonadei <mbonadei@webrtc.org> Commit-Queue: Jeremy Leconte <jleconte@google.com> Cr-Commit-Position: refs/heads/main@{#36139}
This commit is contained in:

committed by
WebRTC LUCI CQ

parent
4abffda39f
commit
7befe8e5e4
@ -36,7 +36,7 @@ NOTIFY_EMAIL = 'webrtc-trooper@webrtc.org'
|
||||
def _RemovePreviousUpdateBranch():
|
||||
active_branch, branches = _GetBranches()
|
||||
if active_branch == UPDATE_BRANCH_NAME:
|
||||
active_branch = 'master'
|
||||
active_branch = 'main'
|
||||
if UPDATE_BRANCH_NAME in branches:
|
||||
logging.info('Removing previous update branch (%s)', UPDATE_BRANCH_NAME)
|
||||
subprocess.check_call(['git', 'checkout', active_branch])
|
||||
|
Reference in New Issue
Block a user