You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by mg...@apache.org on 2013/02/19 08:55:28 UTC

[16/19] git commit: Update release script to actually upload the release artifacts to the staging area

Update release script to actually upload the release artifacts to the staging area


Project: http://git-wip-us.apache.org/repos/asf/wicket/repo
Commit: http://git-wip-us.apache.org/repos/asf/wicket/commit/b524f798
Tree: http://git-wip-us.apache.org/repos/asf/wicket/tree/b524f798
Diff: http://git-wip-us.apache.org/repos/asf/wicket/diff/b524f798

Branch: refs/heads/reference-guide
Commit: b524f79873b53f7637f24f5b3ea5bee31e9639c0
Parents: 2c8f06f
Author: Martijn Dashorst <da...@apache.org>
Authored: Fri Feb 15 13:34:27 2013 +0100
Committer: Martijn Dashorst <da...@apache.org>
Committed: Fri Feb 15 13:34:27 2013 +0100

----------------------------------------------------------------------
 release-dashorst.sh |    9 ++++-----
 1 files changed, 4 insertions(+), 5 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/wicket/blob/b524f798/release-dashorst.sh
----------------------------------------------------------------------
diff --git a/release-dashorst.sh b/release-dashorst.sh
index da9583e..250c8c6 100755
--- a/release-dashorst.sh
+++ b/release-dashorst.sh
@@ -226,14 +226,13 @@ popd
 
 echo "Uploading release"
 pushd target/dist
-svn mkdir https://dist.apache.org/repos/dist/dev/wicket/wicket-$version -m "Create $version release staging area"
-svn co --force --depth=empty https://dist.apache.org/repos/dist/dev/wicket/wicket-$version .
+svn mkdir https://dist.apache.org/repos/dist/dev/wicket/$version -m "Create $version release staging area"
+svn co --force --depth=empty https://dist.apache.org/repos/dist/dev/wicket/$version .
 cp ../../CHANGELOG* .
-svn add .
+svn add *
 svn commit -m "Upload wicket-$version to staging area"
 popd
 
-
 echo ""
 echo "The release has been created. It is up to you to check if the release is up"
 echo "to par, and perform the following commands yourself when you start the vote"
@@ -275,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 \\) -name pom.xml -exec sed -i \"\" -E \"s/$mvn_version_to_replace/$next_dev_version/g\" {} \\;"
+echo "    find . ! \\( -type d -name \"target\" -prune \\) -type f -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"