Export FTP server and added username/password to VERSION file upload.

This commit is contained in:
Matthew
2010-10-04 11:46:05 +13:00
committed by Paul Chote
parent cdec3fce26
commit 1b525ff809
2 changed files with 4 additions and 2 deletions

View File

@@ -12,6 +12,8 @@ VERSION=`echo $TAG | grep -o "[0-9]\\+-\\?[0-9]\\?"`
FTPSERVER=openra.res0l.net
export FTPSERVER
case "$TYPE" in
"release")
FTPPATH="openra.res0l.net/releases"
@@ -118,5 +120,5 @@ esac
wait
if [ "$TYPE" = "release" ]; then
wput --basename=../ -u ../VERSION ftp://$FTPSERVER/$FTPPATH/master/
wput --basename=../ -u ../VERSION ftp://$2:$3@$FTPSERVER/$FTPPATH/master/
fi