mirror of
https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs.git
synced 2024-11-29 23:11:01 +00:00
8 lines
184 B
Bash
8 lines
184 B
Bash
|
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\"/" {} \;
|