diff --git a/cli/tools/registry/mod.rs b/cli/tools/registry/mod.rs index a86e15dd63..410025b2a7 100644 --- a/cli/tools/registry/mod.rs +++ b/cli/tools/registry/mod.rs @@ -391,7 +391,7 @@ async fn perform_publish( let res = parse_response::(response).await; let mut task = match res { Ok(task) => task, - Err(err) if err.code == "versionAlreadyExists" => { + Err(err) if err.code == "duplicateVersionPublish" => { println!( "{} @{}/{}@{}", colors::yellow("Skipping, already published"),