Skip to content

Commit

Permalink
fix in bumpver.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
danhaywood committed Sep 29, 2014
1 parent ee6f9d0 commit 71871ee
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions bumpver.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,13 @@ if [ ! "$VERSION" ]; then
fi

# edit parent pom.xml's reference
echo "editing parent's pom.xml (reference to dom module)"
echo "editing parent's pom.xml (reference to cpt module)"
cat pom.xml | sed "s/<isis-wicket-excel.version>.*</<isis-wicket-excel.version>$VERSION</" > pom.xml.$$.sed
mv pom.xml.$$.sed pom.xml

# edit dom's pom.xml
echo "editing dom's pom.xml"
pushd dom >/dev/null
# edit cpt's pom.xml
echo "editing cpt's pom.xml"
pushd cpt >/dev/null
mvn versions:set -DnewVersion=$VERSION > /dev/null
popd >/dev/null

Expand Down

0 comments on commit 71871ee

Please sign in to comment.