Updated Branches:
  refs/heads/wicket-6.x 6c37c6604 -> be7783803

Updated script to generate the remove previous release from mirrors


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

Branch: refs/heads/wicket-6.x
Commit: be7783803c166d0f513a9d7ddcd8e0a50851a945
Parents: 6c37c66
Author: Martijn Dashorst <[email protected]>
Authored: Wed Nov 27 10:31:27 2013 +0100
Committer: Martijn Dashorst <[email protected]>
Committed: Wed Nov 27 10:31:35 2013 +0100

----------------------------------------------------------------------
 release-dashorst.sh | 7 +++++++
 1 file changed, 7 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/wicket/blob/be778380/release-dashorst.sh
----------------------------------------------------------------------
diff --git a/release-dashorst.sh b/release-dashorst.sh
index de474c2..9bf7bb7 100755
--- a/release-dashorst.sh
+++ b/release-dashorst.sh
@@ -69,6 +69,8 @@ major_version=$(expr $current_version : 
'\(.*\)\..*\..*\-SNAPSHOT')
 minor_version=$(expr $current_version : '.*\.\(.*\)\..*\-SNAPSHOT')
 bugfix_version=$(expr $current_version : '.*\..*\.\(.*\)-SNAPSHOT')
 version="$major_version.$minor_version.0"
+previous_version="$major_version.$(expr $minor_version - 1).0"
+
 echo "This script will release version: Apache Wicket $version"
 echo ""
 echo "Press enter to continue or CTRL-C to abort \c"
@@ -256,6 +258,11 @@ echo ""
 echo "    svn mv https://dist.apache.org/repos/dist/dev/wicket/$version 
https://dist.apache.org/repos/dist/release/wicket -m \"Upload release to the 
mirrors\""
 echo ""
 
+echo "Remove previous version $previous_version from the mirrors"
+echo ""
+echo "    svn rm 
https://dist.apache.org/repos/dist/release/wicket/$previous_version -m \"Remove 
previous version from mirrors\""
+echo ""
+
 echo "To sign the release tag issue the following three commands: "
 echo ""
 echo "    git checkout $tag"

Reply via email to