Permalink
Browse files

Update release script to modify the proper files after release

  • Loading branch information...
dashorst committed Feb 19, 2013
1 parent e241dc3 commit 166d364bf13d1b36e9de113780fd2792a187ab3b
Showing with 1 addition and 1 deletion.
  1. +1 −1 release-dashorst.sh
View
@@ -274,7 +274,7 @@ echo " find . ! \\( -type d -name \"target\" -prune \\) -name pom.xml -exec s
# do the same for the original snapshot version, as our maven release
# plugin friend doesn't do that for us in the dependency management section
mvn_version_to_replace="$major_version.$minor_version.0-SNAPSHOT"
-echo " find . ! \\( -type d -name \"target\" -prune \\) -type f -exec sed -i \"\" -E \"s/$mvn_version_to_replace/$next_dev_version/g\" {} \\;"
+echo " find . ! \\( -type d -name \"target\" -prune \\) -name pom.xml -exec sed -i \"\" -E \"s/$mvn_version_to_replace/$next_dev_version/g\" {} \\;"
echo " git add \`find . ! \\( -type d -name \"target\" -prune \\) -name pom.xml\`"
echo " git commit -m \"Start next development version\""
echo " git push"

0 comments on commit 166d364

Please sign in to comment.