Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

executable file 13 lines (11 sloc) 0.36 kb
#!/bin/bash
#
# Replace the regex "@version(\s+)[\d\.]+" with "@version\1$newVersionString"
if [ $# -ne 1 ]; then
echo "Usage: $0 <newVersionString>"
exit
fi
newVersionString=$1;
for i in `grep -R "@version" src tests build.xml README LICENSE CHANGELOG| cut -d ":" -f 1` ; do
sed -i "" -E "s/@version( +).*$/@version\1$newVersionString/g" $i
done
Jump to Line
Something went wrong with that request. Please try again.