mcpzero-cli 0.1.4__tar.gz → 0.1.5__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -18,7 +18,7 @@ import zipfile
|
|
|
18
18
|
from importlib import metadata
|
|
19
19
|
from pathlib import Path
|
|
20
20
|
|
|
21
|
-
# GitHub Release assets: <base>/v<version>/
|
|
21
|
+
# GitHub Release assets: <base>/v<version>/mcpzero-cli_<version>_<os>_<arch>.<ext>
|
|
22
22
|
BASE_URL = os.environ.get(
|
|
23
23
|
"MCPZERO_BASE_URL", "https://github.com/mcpzero/mcpzero/releases/download"
|
|
24
24
|
).rstrip("/")
|
|
@@ -63,7 +63,7 @@ def _ensure_binary() -> Path:
|
|
|
63
63
|
return dest
|
|
64
64
|
|
|
65
65
|
ext = "zip" if os_name == "windows" else "tar.gz"
|
|
66
|
-
asset = f"
|
|
66
|
+
asset = f"mcpzero-cli_{version}_{os_name}_{arch}.{ext}"
|
|
67
67
|
url = f"{BASE_URL}/v{version}/{asset}"
|
|
68
68
|
|
|
69
69
|
with tempfile.TemporaryDirectory() as tmp:
|
|
File without changes
|
|
File without changes
|