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

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs/-/merge_requests/1144>
This commit is contained in:
Lily Foster 2023-03-23 10:44:18 -04:00
parent 9e3110988c
commit f18f69809a

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