gst-plugins-rs/update-version.sh
2022-10-04 21:27:23 +05:30

8 lines
235 B
Bash
Executable file

if [ -z "$1" ]
then
echo "Requires a version argument, eg update-version.sh 0.6.0"
exit 1
fi
find . -name "Cargo.toml" -exec sed -i "s/^version =.*/version = \"$1\"/" {} \;
sed -i "s/version: .*/version: '$1',/" meson.build