Title: [1271] trunk/core/distribution/upload-reference.sh: Added script to upload reference docs to jbehave.org
Revision
1271
Author
mauro
Date
2009-09-20 17:18:38 -0500 (Sun, 20 Sep 2009)

Log Message

Added script to upload reference docs to jbehave.org

Added Paths


Diff

Added: trunk/core/distribution/upload-reference.sh (0 => 1271)

--- trunk/core/distribution/upload-reference.sh	                        (rev 0)
+++ trunk/core/distribution/upload-reference.sh	2009-09-20 22:18:38 UTC (rev 1271)
@@ -0,0 +1,11 @@
+
+VERSION=$1
+
+if [ "$VERSION" == "" ]; then
+  echo "usage: upload-reference.sh <version>"
+  exit;
+fi
+
+scp target/jbehave-$VERSION-bin.zip jbehave.org:
+
+ssh jbehave.org "rm -r jbehave-$VERSION; unzip jbehave-$VERSION-bin.zip; rm -r /var/www/jbehave.org/reference/$VERSION;  mv jbehave-$VERSION/docs/ /var/www/jbehave.org/reference/$VERSION"
Property changes on: trunk/core/distribution/upload-reference.sh
___________________________________________________________________
Name: svn:executable
   + *


To unsubscribe from this list please visit:

http://xircles.codehaus.org/manage_email

Reply via email to