Add a comment to the mkdir command to stage the release

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

Branch: refs/heads/master
Commit: 94f77ead1290500a934122383e0185459cc12199
Parents: 3526a36
Author: Antoine Toulme <anto...@lunar-ocean.com>
Authored: Fri Sep 16 23:08:03 2016 -0700
Committer: Antoine Toulme <anto...@lunar-ocean.com>
Committed: Fri Sep 16 23:12:03 2016 -0700

----------------------------------------------------------------------
 rakelib/stage.rake | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/buildr/blob/94f77ead/rakelib/stage.rake
----------------------------------------------------------------------
diff --git a/rakelib/stage.rake b/rakelib/stage.rake
index 43c9a1a..2187427 100644
--- a/rakelib/stage.rake
+++ b/rakelib/stage.rake
@@ -178,10 +178,10 @@ p>. ("Release signing keys":#{official}/KEYS)
   # Move everything over to https://dist.apache.org/repos/dist/dev/buildr so 
we can vote on it.
   lambda do
     puts "Uploading _staged directory ..."
-    sh "svn mkdir 
https://dist.apache.org/repos/dist/dev/buildr/#{spec.version}";
-    sh "svn checkout 
https://dist.apache.org/repos/dist/dev/buildr/#{spec.version} ."
-    sh "svn add *"
-     sh "svn commit -m 'Uploading Buildr RC #{spec.version}'"
+    sh "svn mkdir 
https://dist.apache.org/repos/dist/dev/buildr/#{spec.version} -m 'Creating 
Buildr release candidate #{spec.version}'"
+    sh "cd _staged; svn checkout 
https://dist.apache.org/repos/dist/dev/buildr/#{spec.version} ."
+    sh "cd _staged; svn add *"
+     sh "cd _staged; svn commit -m 'Uploading Buildr RC #{spec.version}'"
     puts "[X] Uploaded _staged directory"
   end.call
 

Reply via email to