summaryrefslogtreecommitdiff
path: root/cli/tools/registry/mod.rs
diff options
context:
space:
mode:
Diffstat (limited to 'cli/tools/registry/mod.rs')
-rw-r--r--cli/tools/registry/mod.rs18
1 files changed, 9 insertions, 9 deletions
diff --git a/cli/tools/registry/mod.rs b/cli/tools/registry/mod.rs
index 586327821..1a7a78131 100644
--- a/cli/tools/registry/mod.rs
+++ b/cli/tools/registry/mod.rs
@@ -473,7 +473,7 @@ impl PublishPreparer {
publish_paths.push(CollectedPublishPath {
specifier: ModuleSpecifier::from_file_path(&license_path)
.unwrap(),
- relative_path: "LICENSE".to_string(),
+ relative_path: "/LICENSE".to_string(),
maybe_content: Some(std::fs::read(&license_path).with_context(
|| format!("failed reading '{}'.", license_path.display()),
)?),
@@ -1014,14 +1014,6 @@ async fn publish_package(
);
}
- log::info!(
- "{} @{}/{}@{}",
- colors::green("Successfully published"),
- package.scope,
- package.package,
- package.version
- );
-
let enable_provenance = std::env::var("DISABLE_JSR_PROVENANCE").is_err()
&& (auth::is_gha() && auth::gha_oidc_token().is_some() && provenance);
@@ -1072,6 +1064,14 @@ async fn publish_package(
}
log::info!(
+ "{} @{}/{}@{}",
+ colors::green("Successfully published"),
+ package.scope,
+ package.package,
+ package.version
+ );
+
+ log::info!(
"{}",
colors::gray(format!(
"Visit {}@{}/{}@{} for details",