The script at .maintain/build-only-wasm.sh contains this logic:
The directory it is testing for is of the form a/target/release/wbuild-runner/node-template-runtime. But in recent Substrate builds, that directory never exists. A set of similar directories with large numbers appended to the end exist. This makes the script always fall back to the else branch and just run cargo build --release -p node-template-runtime.
And thinking about it now, what was the other branch even supposed to do differently than that cargo command?
cc @bkchr
cc @bkchr
Ty for pinging, but I already had seen the issue 馃槄馃槀
Most helpful comment
Ty for pinging, but I already had seen the issue 馃槄馃槀