diff --git a/crates/bump-versions.nu b/crates/bump-versions.nu index 20db6d076..8815d3724 100644 --- a/crates/bump-versions.nu +++ b/crates/bump-versions.nu @@ -2,7 +2,8 @@ cd .. let version = "x.x.x" -open Cargo.toml | update workspace.package.version $version | save -f Cargo.toml +open Cargo.toml | update workspace.package.version $version + | collect { save -f Cargo.toml } let crates = ls crates | where type == dir | get name | filter {|n| $"($n)/Cargo.toml" | path exists } | each {|p| split row "/" | last} @@ -17,7 +18,7 @@ def update-manifest [] { def replace-manifest [] { let path = $"crates/($in)/Cargo.toml" - open $path | update-manifest | to toml | save -f $path + open $path | update-manifest | to toml | collect { save -f $path } $path }