Skip to content

Commit

Permalink
Merge pull request #496 from mulkieran/support-loopdev
Browse files Browse the repository at this point in the history
Add support for releasing loopdev-3 package
  • Loading branch information
mulkieran authored Dec 21, 2023
2 parents e3b7d87 + 454b9c9 commit d556897
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
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
6 changes: 3 additions & 3 deletions release_management/create_release.py
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down Expand Up @@ -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(
Expand Down

0 comments on commit d556897

Please sign in to comment.