Skip to content

Commit

Permalink
Add support for releasing loopdev-3 package
Browse files Browse the repository at this point in the history
Fix a comment to distinguish between package and crate name

Signed-off-by: mulhern <[email protected]>
  • Loading branch information
mulkieran committed Dec 20, 2023
1 parent e3b7d87 commit 1cc246f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion release_management/_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -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("/"))
Expand Down
2 changes: 2 additions & 0 deletions release_management/create_release.py
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down

0 comments on commit 1cc246f

Please sign in to comment.