From 1cc246f9f5f8c4e7ff36822be17a6b6ca8d2cc88 Mon Sep 17 00:00:00 2001 From: mulhern Date: Wed, 20 Dec 2023 12:17:40 -0500 Subject: [PATCH] Add support for releasing loopdev-3 package Fix a comment to distinguish between package and crate name Signed-off-by: mulhern --- release_management/_utils.py | 2 +- release_management/create_release.py | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/release_management/_utils.py b/release_management/_utils.py index abb4016..68fdf07 100755 --- a/release_management/_utils.py +++ b/release_management/_utils.py @@ -185,7 +185,7 @@ def get_package_info(manifest_abs_path, package_name): package = metadata["package"] assert package["name"] == package_name, ( - f'crate name in Cargo.toml ({package["name"]}) != specified' + f'package name in Cargo.toml ({package["name"]}) != specified' f"package name ({package_name})" ) github_repo = urlparse(package["repository"].rstrip("/")) diff --git a/release_management/create_release.py b/release_management/create_release.py index 4395cbf..3b371b8 100755 --- a/release_management/create_release.py +++ b/release_management/create_release.py @@ -370,6 +370,8 @@ def _create_rust_subcommands(subparsers): RustCrates.set_up_subcommand("stratisd_proc_macros", subparsers) + RustCrates.set_up_subcommand("loopdev-3", subparsers, subcmd_aliases=["loopdev"]) + def _create_python_subcommands(subparsers): PythonPackages.set_up_subcommand(