[New] added new setVersion.sh script

This commit is contained in:
Robert von Burg 2014-09-20 00:58:22 +02:00
parent 890b9f47cd
commit b40759320b
1 changed files with 2 additions and 0 deletions

View File

@ -34,6 +34,8 @@ fi
if ! xmlstarlet ed --ps -L -N my=http://maven.apache.org/POM/4.0.0 -u "/my:project/my:parent/my:version" -v ${new_version} pom.xml 2>/dev/null ; then
fail "${root}/pom.xml"
fi
cd "${root}"
for project in li.* ; do
cd "${root}/${project}"
if ! xmlstarlet ed --ps -L -N my=http://maven.apache.org/POM/4.0.0 -u "/my:project/my:version" -v ${new_version} pom.xml 2>/dev/null ; then