Add update-version script

This commit is contained in:
Mathieu Duponchelle 2020-04-15 20:39:31 +02:00
parent e10f88da50
commit adfc25b123

7
update-version.sh Executable file
View file

@ -0,0 +1,7 @@
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\"/" {} \;