Artifact d3608da6362850e6c28c46a733ce2d1a92e3f72c:
- File
bumprev.sh
— part of check-in
[8b14e93ed8]
at
2012-07-22 08:28:11
on branch trunk
— first check-in
(user:
jan.nijtmans
size: 467)
#!/usr/bin/bash
files=(../core/plugin.xml ../feature/feature.xml ../feature-plugin/plugin.xml ../javahl-win32/META-INF/MANIFEST.MF ../javahl-win32/fragment.xml ../ui/plugin.xml ../update-site/.sitebuild/sitebuild.xml ../update-site/site.xml)
usage="./bump.sh <old version> <new version>"
if [ ! $# -eq 2 ];then
echo $usage
exit 1
fi
version1=$1
version2=$2
for f in ${files[@]};do
echo "bumping $f"
perl -p -i -e "s/$version1/$version2/g" $f
done