mirror of
https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs.git
synced 2024-11-20 02:21:00 +00:00
Add update-version script
This commit is contained in:
parent
e10f88da50
commit
adfc25b123
1 changed files with 7 additions and 0 deletions
7
update-version.sh
Executable file
7
update-version.sh
Executable 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\"/" {} \;
|
Loading…
Reference in a new issue