From 53fc372da82bbdaa209c96dad78aff60ec5bfe2a Mon Sep 17 00:00:00 2001 From: Vincent Fraillon Date: Sun, 15 Dec 2024 23:29:06 +0100 Subject: [PATCH] fix(cli/migrate): change grit binaries prefix --- src/openai/cli/_tools/migrate.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/openai/cli/_tools/migrate.py b/src/openai/cli/_tools/migrate.py index 7a0b0f90f6..841b777528 100644 --- a/src/openai/cli/_tools/migrate.py +++ b/src/openai/cli/_tools/migrate.py @@ -92,8 +92,8 @@ def install() -> Path: install_dir = dir_name / ".install" target_dir = install_dir / "bin" - target_path = target_dir / "marzano" - temp_file = target_dir / "marzano.tmp" + target_path = target_dir / "grit" + temp_file = target_dir / "grit.tmp" if target_path.exists(): _debug(f"{target_path} already exists") @@ -110,7 +110,7 @@ def install() -> Path: arch = _get_arch() _debug(f"Using architecture {arch}") - file_name = f"marzano-{arch}-{platform}" + file_name = f"grit-{arch}-{platform}" download_url = f"https://github.com/getgrit/gritql/releases/latest/download/{file_name}.tar.gz" sys.stdout.write(f"Downloading Grit CLI from {download_url}\n")