Updated Branches: refs/heads/master e86fea3d0 -> 4cf0aac89
Also update dependencyManagement section The release plugin fails to update the dependencies in the dependencyManagement section to the new release version, so we need to do that ourselves. Project: http://git-wip-us.apache.org/repos/asf/wicket/repo Commit: http://git-wip-us.apache.org/repos/asf/wicket/commit/4cf0aac8 Tree: http://git-wip-us.apache.org/repos/asf/wicket/tree/4cf0aac8 Diff: http://git-wip-us.apache.org/repos/asf/wicket/diff/4cf0aac8 Branch: refs/heads/master Commit: 4cf0aac8963f471468214981fa2887d916757bc9 Parents: e86fea3 Author: Martijn Dashorst <[email protected]> Authored: Wed Sep 26 22:06:27 2012 +0200 Committer: Martijn Dashorst <[email protected]> Committed: Wed Sep 26 22:06:34 2012 +0200 ---------------------------------------------------------------------- release-dashorst.sh | 4 ++++ 1 files changed, 4 insertions(+), 0 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/wicket/blob/4cf0aac8/release-dashorst.sh ---------------------------------------------------------------------- diff --git a/release-dashorst.sh b/release-dashorst.sh index 5e0c55a..1c3e92b 100755 --- a/release-dashorst.sh +++ b/release-dashorst.sh @@ -259,6 +259,10 @@ echo "" echo " git checkout master" echo " mvn release:update-versions --batch-mode" echo " find . ! \\( -type d -name \"target\" -prune \\) -name pom.xml -exec sed -i \"\" -E \"s/$mvn_version_to_replace/$next_dev_version/g\" {} \\;" +# 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 \\) -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"
