[pok-devel] [3] * fix the commit system, automatically send release

[ Thread Index | Date Index | More lists.tuxfamily.org/pok-devel Archives ]


Revision: 3
Author:   julien
Date:     2011-02-02 21:04:36 +0100 (Wed, 02 Feb 2011)
Log Message:
-----------
 * fix the commit system, automatically send release
   on tuxfamily download area (http://download.tuxfamily.org/pok/)

Modified Paths:
--------------
    trunk/misc/send-release.sh

Modified: trunk/misc/send-release.sh
===================================================================
--- trunk/misc/send-release.sh	2011-01-30 22:34:30 UTC (rev 2)
+++ trunk/misc/send-release.sh	2011-02-02 20:04:36 UTC (rev 3)
@@ -1,22 +1,25 @@
 #!/bin/sh
 
 VERSION=`date '+%Y%m%d'` 
-HOST=masaru.fb-network.net
-REMOTE_DIR=/home/julien/people/pok/snapshots/
+HOST=ssh.tuxfamily.org
+REMOTE_DIR=/home/pok/pok-repository/snapshots/
 
 echo "Sending pok-$VERSION to $HOST:$REMOTE_DIR/"
-#lftp -c "open ftp://gunnm.org ; user pok PASS ; put pok-$VERSION.tgz"
+scp pok-$VERSION.tgz $HOST:$REMOTE_DIR
 
 echo "Sending pok-$VERSION to $HOST:$REMOTE_DIR/pok-current.tgz"
-#lftp -c "open ftp://gunnm.org ; user pok PASS ; put pok-$VERSION.tgz -o pok-current.tgz"
+scp pok-$VERSION.tgz $HOST:$REMOTE_DIR/pok-current.tgz
 
 echo "Sending userguide to $HOST:$REMOTE_DIR/pok-userguide.pdf"
-#lftp -c "open ftp://gunnm.org ; user pok PASS ; put doc/userguide/pok-user.pdf -o pok-userguide-$VERSION.pdf"
-#lftp -c "open ftp://gunnm.org ; user pok PASS ; put doc/userguide/pok-user.pdf -o pok-userguide-current.pdf"
-#lftp -c "open ftp://gunnm.org ; user pok PASS ; put doc/kernel-refman.pdf -o pok-kernel-refman-current.pdf"
-#lftp -c "open ftp://gunnm.org ; user pok PASS ; put doc/libpok-refman.pdf -o pok-libpok-refman-current.pdf"
-#lftp -c "open ftp://gunnm.org ; user pok PASS ; mirror -R doc/userguide/html pok-userguide-current"
-#lftp -c "open ftp://gunnm.org ; user pok PASS ; mirror -R doc/doxygen-kernel/html kernel-refman-current"
-#lftp -c "open ftp://gunnm.org ; user pok PASS ; mirror -R doc/doxygen-libpok/html libpok-refman-current"
+scp pok-$VERSION.tgz $HOST:$REMOTE_DIR/pok-current.tgz
+scp doc/userguide/pok-user.pdf $HOST:$REMOTE_DIR/pok-userguide-$VERSION.tgz
+scp doc/userguide/pok-user.pdf $HOST:$REMOTE_DIR/pok-userguide-current.tgz
+scp doc/kernel-refman.pdf $HOST:$REMOTE_DIR/pok-kernel-refman-$VERSION.tgz
+scp doc/kernel-refman.pdf $HOST:$REMOTE_DIR/pok-kernel-refman-current.tgz
+scp doc/libpok-refman.pdf $HOST:$REMOTE_DIR/pok-libpok-refman-$VERSION.tgz
+scp doc/libpok-refman.pdf $HOST:$REMOTE_DIR/pok-libpok-refman-current.tgz
+scp -r doc/userguide/html $HOST:$REMOTE_DIR/pok-userguide-current-html
+scp -r doc/doxygen-kernel/html $HOST:$REMOTE_DIR/kernel-refman-current-html
+scp -r doc/doxygen-libpok/html $HOST:$REMOTE_DIR/libpok-refman-current-html
 
 


Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/