3 # Update the version number in lilypond snippets without running convert-ly
5 # Note: this does not change anything but the version number, and it will only
6 # change the specified version number
8 # This is useful when a patch containing a number of snippets (due to a change
9 # in syntax) has not completed review before a new development release
12 # Usage: update-patch-version old-version new-version
14 if [ $# -ne 2 ] # need exactly 2 arguments
16 echo "Usage: update-patch-version old-version new-version"
20 git grep --name-only $1 | xargs sed -i -e s/$1/$2/g