Snapshot only committed extensions and publish the last-good marker atomically
This commit is contained in:
@@ -34,7 +34,7 @@ fn prepare(dir: &Path) -> anyhow::Result<()> {
|
||||
assert!(crate::common::build_brush()?.success());
|
||||
}
|
||||
std::fs::create_dir_all(disk.join("bin"))?;
|
||||
for (binary, name) in [("git", "git"), ("brush", "sh")] {
|
||||
for (binary, name) in [("git", "git"), ("tar", "tar"), ("brush", "sh")] {
|
||||
std::fs::copy(
|
||||
target.join(format!("wasm32-wasip2/release/{binary}.wasm")),
|
||||
disk.join(format!("bin/{name}.wasm")),
|
||||
|
||||
Reference in New Issue
Block a user