upload to wxpython.wxcommunity.com instead of starship
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43128 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -23,9 +23,18 @@ LINUX_BUILD = /tmp/BUILD
|
|||||||
|
|
||||||
|
|
||||||
# Upload server locations
|
# Upload server locations
|
||||||
UPLOAD_HOST = starship.python.net
|
#UPLOAD_HOST = starship.python.net
|
||||||
UPLOAD_DAILY_ROOT = /home/crew/robind/public_html/wxPython/daily
|
#UPLOAD_PREVIEW_ROOT = /home/crew/robind/public_html/wxPython/preview
|
||||||
UPLOAD_PREVIEW_ROOT = /home/crew/robind/public_html/wxPython/rc
|
#UPLOAD_RELEASE_ROOT = /home/crew/robind/public_html/wxPython/release
|
||||||
|
#UPLOAD_METHOD = ssh
|
||||||
|
#UPLOAD_URL_ROOT = http://starship.python.net/crew/robind/wxPython/
|
||||||
|
|
||||||
|
UPLOAD_HOST = wxpython.wxcommunity.com
|
||||||
|
UPLOAD_PREVIEW_ROOT = /httpdocs/preview
|
||||||
|
UPLOAD_RELEASE_ROOT = /httpdocs/release
|
||||||
|
UPLOAD_METHOD = ftp
|
||||||
|
UPLOAD_URL_ROOT = http://wxPython.wxcommunity.com/
|
||||||
|
|
||||||
|
|
||||||
# defaults for build options
|
# defaults for build options
|
||||||
KIND = dryrun
|
KIND = dryrun
|
||||||
|
@@ -22,12 +22,16 @@ if [ $KIND = daily ]; then
|
|||||||
cp $STAGING_DIR/* $destdir
|
cp $STAGING_DIR/* $destdir
|
||||||
|
|
||||||
if [ $skipupload != yes ]; then
|
if [ $skipupload != yes ]; then
|
||||||
destdir=$UPLOAD_DAILY_ROOT/$DAILY
|
destdir=$UPLOAD_PREVIEW_ROOT/$DAILY
|
||||||
echo "Copying to the starship at $destdir..."
|
echo "Copying to $UPLOAD_HOST at $destdir..."
|
||||||
ssh $UPLOAD_HOST "mkdir -p $destdir"
|
if [ $UPLOAD_METHOD = ssh ]; then
|
||||||
scp -p $STAGING_DIR/* $UPLOAD_HOST:/$destdir
|
ssh $UPLOAD_HOST "mkdir -p $destdir"
|
||||||
#ssh $UPLOAD_HOST "cd $destdir && ls -al"
|
scp -p $STAGING_DIR/* $UPLOAD_HOST:/$destdir
|
||||||
|
fi
|
||||||
|
if [ $UPLOAD_METHOD = ftp ]; then
|
||||||
|
lftp -c "open $UPLOAD_HOST; mkdir $destdir"
|
||||||
|
lftp -c "open $UPLOAD_HOST; cd $destdir; mput $STAGING_DIR/*"
|
||||||
|
fi
|
||||||
|
|
||||||
# TODO: something to remove old builds from starship, keeping
|
# TODO: something to remove old builds from starship, keeping
|
||||||
# only N days worth
|
# only N days worth
|
||||||
@@ -44,11 +48,11 @@ Date: $DATE
|
|||||||
|
|
||||||
Hi,
|
Hi,
|
||||||
|
|
||||||
A new test build of wxPython has been uploaded to starship.
|
A new test build of wxPython has been uploaded.
|
||||||
|
|
||||||
Version: $VERSION
|
Version: $VERSION
|
||||||
URL: http://starship.python.net/crew/robind/wxPython/daily/$DAILY
|
URL: $UPLOAD_URL_ROOT/preview/$DAILY
|
||||||
Changes: http://starship.python.net/crew/robind/wxPython/daily/$DAILY/CHANGES.html
|
Changes: $UPLOAD_URL_ROOT/preview/$DAILY/CHANGES.html
|
||||||
|
|
||||||
Have fun!
|
Have fun!
|
||||||
R'bot
|
R'bot
|
||||||
@@ -72,10 +76,16 @@ if [ $KIND = release ]; then
|
|||||||
cp $STAGING_DIR/* $destdir
|
cp $STAGING_DIR/* $destdir
|
||||||
|
|
||||||
if [ $skipupload != yes ]; then
|
if [ $skipupload != yes ]; then
|
||||||
echo "Copying to the starship..."
|
echo "Copying to $UPLOAD_HOST..."
|
||||||
destdir=$UPLOAD_PREVIEW_ROOT/$VERSION
|
destdir=$UPLOAD_RELEASE_ROOT/$VERSION
|
||||||
ssh $UPLOAD_HOST "mkdir -p $destdir"
|
if [ $UPLOAD_METHOD = ssh ]; then
|
||||||
scp -p $STAGING_DIR/* $UPLOAD_HOST:/$destdir
|
ssh $UPLOAD_HOST "mkdir -p $destdir"
|
||||||
|
scp -p $STAGING_DIR/* $UPLOAD_HOST:/$destdir
|
||||||
|
fi
|
||||||
|
if [ $UPLOAD_METHOD = ftp ]; then
|
||||||
|
lftp -c "open $UPLOAD_HOST; mkdir $destdir"
|
||||||
|
lftp -c "open $UPLOAD_HOST; cd $destdir; mput $STAGING_DIR/*"
|
||||||
|
fi
|
||||||
|
|
||||||
# Send email to wxPython-dev
|
# Send email to wxPython-dev
|
||||||
DATE=`date`
|
DATE=`date`
|
||||||
@@ -92,8 +102,8 @@ Hi,
|
|||||||
A new RC build of wxPython has been uploaded to starship.
|
A new RC build of wxPython has been uploaded to starship.
|
||||||
|
|
||||||
Version: $VERSION
|
Version: $VERSION
|
||||||
URL: http://starship.python.net/crew/robind/wxPython/rc/$VERSION
|
URL: $UPLOAD_URL_ROOT/release/$VERSION
|
||||||
Changes: http://starship.python.net/crew/robind/wxPython/rc/$VERSION/CHANGES.html
|
Changes: $UPLOAD_URL_ROOT/release/$VERSION/CHANGES.html
|
||||||
|
|
||||||
Have fun!
|
Have fun!
|
||||||
R'bot
|
R'bot
|
||||||
|
Reference in New Issue
Block a user