]>
git.saurik.com Git - wxWidgets.git/blob - wxPython/distrib/all/build-finalize
2 #----------------------------------------------------------------------
8 chmod a
+r
$STAGING_DIR/*
10 if [ $KIND = dryrun
]; then
11 # we're done leave the files in the staging dir and quit
12 echo "Not uploading dryrun."
17 if [ $KIND = daily
]; then
19 echo "Copying to the local file server..."
20 destdir
=/stuff
/temp
/$VERSION
22 cp $STAGING_DIR/* $destdir
24 if [ $skipupload != yes ]; then
25 destdir
=$UPLOAD_DAILY_ROOT/$DAILY
26 echo "Copying to the starship at $destdir..."
27 ssh $UPLOAD_HOST "mkdir -p $destdir"
28 scp
-p $STAGING_DIR/* $UPLOAD_HOST:/$destdir
29 #ssh $UPLOAD_HOST "cd $destdir && ls -al"
32 # TODO: something to remove old builds from starship, keeping
35 # Send email to wxPython-dev
37 TO
=wxPython
-dev@lists.wxwidgets.org
39 cat <<EOF | /usr/sbin/sendmail $TO
40 From: R'bot <rbot@wxpython.org>
42 Subject: $DAILY test build uploaded
47 A new test build of wxPython has been uploaded to starship.
50 URL: http://starship.python.net/crew/robind/wxPython/daily/$DAILY
51 Changes: http://starship.python.net/crew/robind/wxPython/daily/$DAILY/CHANGES.html
59 echo "Cleaning up staging dir..."
67 if [ $KIND = release
]; then
69 echo "Copying to the local file server..."
70 destdir
=/stuff
/Development
/wxPython
/dist
/$VERSION
72 cp $STAGING_DIR/* $destdir
74 if [ $skipupload != yes ]; then
75 echo "Copying to the starship..."
76 destdir
=$UPLOAD_PREVIEW_ROOT/$VERSION
77 ssh $UPLOAD_HOST "mkdir -p $destdir"
78 scp
-p $STAGING_DIR/* $UPLOAD_HOST:/$destdir
80 # Send email to wxPython-dev
82 TO
=wxPython
-dev@lists.wxwidgets.org
84 cat <<EOF | /usr/sbin/sendmail $TO
85 From: R'bot <rbot@wxpython.org>
87 Subject: $VERSION release candidate build uploaded
92 A new RC build of wxPython has been uploaded to starship.
95 URL: http://starship.python.net/crew/robind/wxPython/rc/$VERSION
96 Changes: http://starship.python.net/crew/robind/wxPython/rc/$VERSION/CHANGES.html
105 echo "Cleaning up staging dir..."