Commit af791d51

Vincent <chiptuned@users.noreply.github.com>
2024-12-16 20:12:53
fix(cli/migrate): change grit binaries prefix (#1951)
1 parent e94d98e
Changed files (1)
src
openai
cli
_tools
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")