diff --git a/util/update-version.sh b/util/update-version.sh index a6dc54c10..ad81da36b 100755 --- a/util/update-version.sh +++ b/util/update-version.sh @@ -27,6 +27,9 @@ sed -i -e "s|version = \"$FROM\"|version = \"$TO\"|" src/uucore_procs/Cargo.toml sed -i -e "s|libstdbuf = { version=\"$FROM\"|libstdbuf = { version=\"$TO\"|" src/uu/stdbuf/Cargo.toml sed -i -e "s|= { optional=true, version=\"$FROM\", package=\"uu_|= { optional=true, version=\"$TO\", package=\"uu_|g" Cargo.toml +# Update the ls dependency for dir and vdir +sed -i -e "s|uu_ls = { version = \">=$FROM\"|uu_ls = { version = \">=$TO\"|" src/uu/dir/Cargo.toml src/uu/vdir/Cargo.toml + # Update uucore itself sed -i -e "s|version = \"$FROM\"|version = \"$TO\"|" src/uucore/Cargo.toml # Update crates using uucore