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..a35bc61 100755 --- a/release_management/create_release.py +++ b/release_management/create_release.py @@ -230,15 +230,13 @@ def tag_rust_library(namespace, name): "__main__._push_tag", lambda: _push_tag(repository.geturl(), tag) ) - changelog_url = get_changelog_url(repository.geturl(), get_branch()) - dry_run_caller( "__main__.create_release", lambda: create_release( repository, tag, release_version, - changelog_url, + get_changelog_url(repository.geturl(), get_branch()), additional_assets=additional_assets, ), skip=namespace.no_github_release, @@ -370,6 +368,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(