16DOWNLOAD_URL =
'https://github.com/mikefarah/yq/releases/download/v4.30.4/yq_linux_amd64'
20 """Create the asset."""
21 subprocess.check_call([
'wget',
'-O',
'yq', DOWNLOAD_URL], cwd=target_dir)
22 subprocess.check_call([
'chmod',
'a+x',
'yq'], cwd=target_dir)
26 parser = argparse.ArgumentParser()
27 parser.add_argument(
'--target_dir',
'-t', required=
True)
28 args = parser.parse_args()
32if __name__ ==
'__main__':
def create_asset(chrome_src_path, browser_executable, target_dir, upload_to_partner_bucket, dm_path)