update-version.sh: Also update versions in Cargo.lock

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs/-/merge_requests/1161>
This commit is contained in:
Lily Foster 2023-03-23 10:44:18 -04:00 committed by Sebastian Dröge
parent 8274be3c0b
commit 5c3b5842b0

View file

@ -5,4 +5,5 @@ if [ -z "$1" ]
fi
find . -name "Cargo.toml" -exec sed -i "s/^version =.*/version = \"$1\"/" {} \;
cargo update -w
sed -i "s/version: .*/version: '$1',/" meson.build