From 1402ed8bc263afa4c378ef532e931da8d593d967 Mon Sep 17 00:00:00 2001 From: Manolo Carrasco Date: Thu, 5 May 2011 11:55:37 +0000 Subject: preparing M3, and adding classifiers for 2.2.0 and 2.3.0 --- change_version.sh | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 change_version.sh (limited to 'change_version.sh') diff --git a/change_version.sh b/change_version.sh new file mode 100644 index 00000000..fa6f0bb7 --- /dev/null +++ b/change_version.sh @@ -0,0 +1,9 @@ + +[ -z "$1" ] && exit + +for i in pom.xml */pom.xml +do + V=`head -20 $i | grep "" | head -1 | cut -d ">" -f2 | cut -d "<" -f1` + perl -pi -e "s;$V;$1;" $i + echo $V $i +done -- cgit v1.2.3