Title: [1322] trunk/web/distribution: Added script to upload reference.
Revision
1322
Author
mauro
Date
2009-10-11 07:43:31 -0500 (Sun, 11 Oct 2009)

Log Message

Added script to upload reference.

Modified Paths


Added Paths

Diff

Modified: trunk/web/distribution/pom.xml (1321 => 1322)

--- trunk/web/distribution/pom.xml	2009-10-11 12:31:16 UTC (rev 1321)
+++ trunk/web/distribution/pom.xml	2009-10-11 12:43:31 UTC (rev 1322)
@@ -168,7 +168,7 @@
               <descriptors>
                 <descriptor>${basedir}/src/main/assembly/assembly-bin.xml</descriptor>
               </descriptors>
-              <finalName>${pom.artifactId}-${pom.version}</finalName>
+              <finalName>jbehave-web-${pom.version}</finalName>
               <workDirectory>${project.build.directory}/assembly/bin</workDirectory>
             </configuration>
           </execution>
@@ -182,7 +182,7 @@
               <descriptors>
                 <descriptor>${basedir}/src/main/assembly/assembly-src.xml</descriptor>
               </descriptors>
-              <finalName>${pom.artifactId}-${pom.version}</finalName>
+              <finalName>jbehave-web-${pom.version}</finalName>
               <workDirectory>${project.build.directory}/assembly/src</workDirectory>
             </configuration>
           </execution>

Added: trunk/web/distribution/upload-reference.sh (0 => 1322)

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


To unsubscribe from this list please visit:

http://xircles.codehaus.org/manage_email

Reply via email to