[pLog-svn] r6762 - plugins/branches/lifetype-1.2/bin

oscar at devel.lifetype.net oscar at devel.lifetype.net
Mon Dec 22 11:46:10 EST 2008


Author: oscar
Date: 2008-12-22 11:46:10 -0500 (Mon, 22 Dec 2008)
New Revision: 6762

Added:
   plugins/branches/lifetype-1.2/bin/build-plugins-nightly.sh
Log:
move these to specific directories - too many copies of these scripts floating around

Copied: plugins/branches/lifetype-1.2/bin/build-plugins-nightly.sh (from rev 6759, plog/branches/lifetype-1.2/bin-devel/build-plugins-nightly.sh)
===================================================================
--- plugins/branches/lifetype-1.2/bin/build-plugins-nightly.sh	                        (rev 0)
+++ plugins/branches/lifetype-1.2/bin/build-plugins-nightly.sh	2008-12-22 16:46:10 UTC (rev 6762)
@@ -0,0 +1,42 @@
+#!/bin/sh 
+
+# check parameters
+if [ $# -lt 2 ]; then
+    echo "Generates a build of all plugins and moves it to the specified folder"
+    echo ""
+    echo "Usage: build-plugins-nightly.sh label destination-folder"
+    echo ""
+    exit -1
+fi
+
+echo "*** Build plugins: starting process ***"
+date
+echo "***"
+
+SVNTAG=$1
+DESTFOLDER=$2
+BINPATH=/home/lifetype/bin
+
+pwd
+echo $DESTFOLDER
+echo $SVNTAG
+
+# make the package
+cd $BINPATH
+$BINPATH/build-plugins.sh $SVNTAG
+
+# move the file to the destination folder
+PACKAGENAME=lifetype-plugins-`date +%Y%m%d`
+mv -f $BINPATH/$PACKAGENAME.zip $DESTFOLDER
+
+# remove everything else
+rm -f $BINPATH/$PACKAGENAME.zip
+rm -f $BINPATH/$PACKAGENAME.tar.gz
+rm -f $BINPATH/$PACKAGENAME.tar.bz2
+
+# make the softlink
+rm $DESTFOLDER/lifetype-plugins-latest.zip
+ln -s $DESTFOLDER/$PACKAGENAME.zip $DESTFOLDER/lifetype-plugins-latest.zip 
+
+echo "*** Build: Nightly build complete!"
+echo "*** Build: build result available in $DESTFOLDER/$PACKAGENAME.zip"


Property changes on: plugins/branches/lifetype-1.2/bin/build-plugins-nightly.sh
___________________________________________________________________
Added: svn:executable
   + *
Added: svn:mergeinfo
   + 



More information about the pLog-svn mailing list