[pLog-svn] r6771 - plog/branches/lifetype-1.2/bin-devel

oscar at devel.lifetype.net oscar at devel.lifetype.net
Mon Dec 22 13:31:50 EST 2008


Author: oscar
Date: 2008-12-22 13:31:50 -0500 (Mon, 22 Dec 2008)
New Revision: 6771

Modified:
   plog/branches/lifetype-1.2/bin-devel/build-nightly.sh
Log:
we can now build trunk and branch builds and have symlinks to them in the snapshots directory

Modified: plog/branches/lifetype-1.2/bin-devel/build-nightly.sh
===================================================================
--- plog/branches/lifetype-1.2/bin-devel/build-nightly.sh	2008-12-22 18:19:02 UTC (rev 6770)
+++ plog/branches/lifetype-1.2/bin-devel/build-nightly.sh	2008-12-22 18:31:50 UTC (rev 6771)
@@ -9,12 +9,10 @@
     echo ""
     echo "Usage: $0 label destination-folder"
     echo ""
-	echo "Use HEAD or TRUNK to indicate the main development branch"
-    echo ""
     echo "Example:"
     echo ""
-    echo "    $0 tags/lifetype-1.2.6 lifetype-1.2.6"
-    echo "    $0 TRUNK lifetype-trunk"
+    echo "    $0 branches/lifetype-1.2 lifetype-1.2"
+    echo "    $0 trunk lifetype-trunk"
     exit -1
 fi
 
@@ -24,10 +22,11 @@
 if [ ${BINPATH:0:1} != "/" ]; then
   BINPATH=`pwd`/$BINPATH
 fi
-PACKAGENAME=lifetype-devel-`date +%Y%m%d`
+CLEANSVNTAG=`echo -n $SVNTAG | tr -c "[:alnum:]." "-"`
+PACKAGENAME=core-$CLEANSVNTAG-`date +%Y%m%d`
 
 echo "*** Build: starting process for $SVNTAG ***"
-echo "Destination: $DESTFOLDER"
+echo "Destination: $DESTFOLDER/$PACKAGENAME"
 date
 echo "***"
 
@@ -42,8 +41,8 @@
 rm -f lifetype.xml
 
 # make the softlink
-rm -f lifetype-devel-latest.zip
-ln -s $PACKAGENAME.zip lifetype-devel-latest.zip 
+rm -f core-$CLEANSVNTAG-latest.zip
+ln -s $PACKAGENAME.zip core-$CLEANSVNTAG-latest.zip 
 
 popd > /dev/null
 



More information about the pLog-svn mailing list