Fix the publish script to ignore witx more (#3486)

This failed on CI [1] I think because the filesystem is traversed
differently than on my local system. This is relatively easily fixable
though where we shouldn't care about witx version when bumping version
requirements since we don't manage the publication of witx anyway.

[1]: https://github.com/bytecodealliance/wasmtime/runs/4038695579?check_suite_focus=true
This commit is contained in:
Alex Crichton
2021-10-28 14:39:06 -05:00
committed by GitHub
parent 5c3155fab3
commit c26197ef8c

View File

@@ -270,6 +270,12 @@ fn bump_version(krate: &Crate, crates: &[Crate], patch: bool) {
};
for other in crates {
// If `other` isn't a published crate then it's not going to get a
// bumped version so we don't need to update anything in the
// manifest.
if !other.publish {
continue;
}
if !is_deps || !line.starts_with(&format!("{} ", other.name)) {
continue;
}