Skip to content

Commit b43764d

Browse files
committed
check another inference
1 parent bea040b commit b43764d

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

bin/src/dispatch.rs

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -421,6 +421,20 @@ async fn show_artifacts(
421421
details,
422422
};
423423

424+
if artifact_metadata.target
425+
!= format!(
426+
"{}-{}-{}.tar.gz",
427+
artifact_metadata.kind,
428+
artifact_metadata.name,
429+
artifact_metadata.version
430+
)
431+
{
432+
eprintln!(
433+
"warning: expected artifact target name to be \
434+
KIND-NAME-VERSION.tar.gz"
435+
);
436+
}
437+
424438
list.push(artifact_info);
425439
}
426440

0 commit comments

Comments
 (0)