From 5a738121c04989e1bdcb728347f12e677adf3bd4 Mon Sep 17 00:00:00 2001 From: Onur Gündüz Date: Tue, 29 Sep 2026 16:54:27 +0200 Subject: Rename crate and CLI to aif --- scripts/release.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'scripts/release.py') diff --git a/scripts/release.py b/scripts/release.py index 512feab..e607c79 100644 --- a/scripts/release.py +++ b/scripts/release.py @@ -50,8 +50,8 @@ def set_version(version): manifest = Path("Cargo.toml") text = manifest.read_text() package = tomllib.loads(text)["package"] - if package["name"] != "aip_filter": - raise ValueError("expected the aip_filter package") + if package["name"] != "aif": + raise ValueError("expected the aif package") current = package["version"] if version_tuple(current) > version_tuple(version): raise ValueError(f"manifest version {current} exceeds the planned release {version}") @@ -64,7 +64,7 @@ def set_version(version): if count != 1: raise ValueError("expected one explicit package version") expected_lock = copy.deepcopy(tomllib.loads(Path("Cargo.lock").read_text())) - packages = [p for p in expected_lock["package"] if p["name"] == "aip_filter" and "source" not in p] + packages = [p for p in expected_lock["package"] if p["name"] == "aif" and "source" not in p] if len(packages) != 1 or packages[0]["version"] != current: raise ValueError("manifest and lockfile versions must agree") packages[0]["version"] = version -- cgit v1.3.1