未验证 提交 de6e82c0 编写于 作者: K Kaushik Iska 提交者: GitHub

CopyFiles is still used. (#10012)

上级 1c5e5b36
......@@ -95,6 +95,16 @@ def BuildBucket():
CopyToBucket('fuchsia_release/', 'flutter/release/')
def CopyFiles(source, destination):
try:
shutil.copytree(source, destination)
except OSError as error:
if error.errno == errno.ENOTDIR:
shutil.copy(source, destination)
else:
raise
def ProcessCIPDPakcage(upload, engine_version):
# Copy the CIPD YAML template from the source directory to be next to the bucket
# we are about to package.
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册