gst-plugins-rs/update-version.sh

8 lines
184 B
Bash
Raw Normal View History

2020-04-15 18:39:31 +00:00
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\"/" {} \;