We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4a6f13c commit c2db133Copy full SHA for c2db133
1 file changed
deploy-tool/src/main.rs
@@ -453,13 +453,13 @@ fn deploy(version: u32) -> Result<(), Box<dyn Error>> {
453
let state_path = default_storage_path("webapp.state");
454
merge_state(&webapp_metadata, &webapp_archive, &state_path)?;
455
456
- fdev_publish(contract_wasm, webapp_parameters, state_path)?;
457
-
458
fs::write(
459
default_storage_path("version"),
460
(version_chosen + 1).to_string(),
461
)?;
462
+ fdev_publish(contract_wasm, webapp_parameters, state_path)?;
+
463
Ok(())
464
}
465
0 commit comments