Use bug for tagging to make gerrit happy
Bug: b/313360935
Bug: b/313339341
Change-Id: Ie149f0f4173fab223c22295cbca4351b45938753
diff --git a/tools/tag_versions.py b/tools/tag_versions.py
index 243625a..6f62ff7 100755
--- a/tools/tag_versions.py
+++ b/tools/tag_versions.py
@@ -125,7 +125,8 @@
]).decode('utf-8')
version = output.split(' ')[0]
run(args, ['git', 'tag', '-f', tag, '-m', tag, '%s^{}' % version])
- run(args, ['git', 'push', 'origin', tag])
+ run(args, ['git', 'push', '-o', 'push-justification=b/313360935',
+ 'origin', tag])
def tag_r8_branch(branch, args):
@@ -145,7 +146,8 @@
result = get_tag_info_on_origin(version)
if not result:
run(args, ['git', 'tag', '-a', version, '-m', version, hash])
- run(args, ['git', 'push', 'origin', version])
+ run(args, ['git', 'push', '-o', 'push-justification=b/313360935',
+ 'origin', version])
if args.dry_run:
print('Dry run complete. None of the above have been executed.')