Skip to content

Commit

Permalink
fix(cli/migrate): change grit binaries prefix (#1951)
Browse files Browse the repository at this point in the history
  • Loading branch information
chiptuned authored and stainless-app[bot] committed Dec 17, 2024
1 parent e94d98e commit af791d5
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/openai/cli/_tools/migrate.py
Original file line number Diff line number Diff line change
Expand Up @@ -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")
Expand All @@ -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")
Expand Down

0 comments on commit af791d5

Please sign in to comment.