File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -465,9 +465,11 @@ def common_templates(
465
465
kwargs ["metadata" ] = _common_template_metadata ()
466
466
templates = gcp .CommonTemplates (template_path = template_path ).java_library (** kwargs )
467
467
468
- # README.md is now synthesized separately. This prevents synthtool from deleting the
469
- # README as it's no longer generated here.
470
- excludes .append ("README.md" )
468
+ # skip README generation on Kokoro (autosynth)
469
+ if os .environ .get ("KOKORO_ROOT" ) is not None :
470
+ # README.md is now synthesized separately. This prevents synthtool from deleting the
471
+ # README as it's no longer generated here.
472
+ excludes .append ("README.md" )
471
473
472
474
s .copy ([templates ], excludes = excludes , merge = _merge_common_templates )
473
475
You can’t perform that action at this time.
0 commit comments