]>
git.saurik.com Git - wxWidgets.git/blob - wxPython/distrib/all/build-finalize
2 #----------------------------------------------------------------------
6 # read the config variables from the file given on the command line
12 chmod a
+r
$STAGING_DIR/*
14 if [ $KIND = dryrun
]; then
15 # we're done leave the files in the staging dir and quit
16 echo "Not uploading dryrun."
21 if [ $KIND = daily
]; then
23 echo "Copying to the local file server..."
24 destdir
=/stuff
/temp
/$VERSION
26 cp $STAGING_DIR/* $destdir
28 if [ $skipupload != yes ]; then
29 destdir
=$UPLOAD_DAILY_ROOT/$DAILY
30 echo "Copying to the starship at $destdir..."
31 ssh $UPLOAD_HOST "mkdir -p $destdir"
32 scp
-p $STAGING_DIR/* $UPLOAD_HOST:/$destdir
33 ssh $UPLOAD_HOST "cd $destdir && ls -al"
36 # TODO: something to remove old builds from starship, keeping
39 # Send email to wxPython-dev
41 TO
=wxPython
-dev@lists.wxwidgets.org
43 cat <<EOF | /usr/sbin/sendmail $TO
44 From: R'bot <rbot@wxpython.org>
46 Subject: $DAILY test build uploaded
51 A new test build of wxPython has been uploaded to starship.
54 URL: http://starship.python.net/crew/robind/wxPython/daily/$DAILY
55 Changes: http://starship.python.net/crew/robind/wxPython/daily/$DAILY/CHANGES.html
63 echo "Cleaning up staging dir..."
71 if [ $KIND = release
]; then
73 echo "Copying to the local file server..."
74 destdir
=/stuff
/Development
/wxPython
/dist
/$VERSION
76 cp $STAGING_DIR/* $destdir
78 if [ $skipupload != yes ]; then
79 echo "Copying to the starship..."
80 destdir
=$UPLOAD_PREVIEW_ROOT/$VERSION
81 ssh $UPLOAD_HOST "mkdir -p $destdir"
82 scp
-p $STAGING_DIR/* $UPLOAD_HOST:/$destdir
84 # Send email to wxPython-dev
86 TO
=wxPython
-dev@lists.wxwidgets.org
88 cat <<EOF | /usr/sbin/sendmail $TO
89 From: R'bot <rbot@wxpython.org>
91 Subject: $VERSION release candidate build uploaded
96 A new RC build of wxPython has been uploaded to starship.
99 URL: http://starship.python.net/crew/robind/wxPython/rc/$VERSION
100 Changes: http://starship.python.net/crew/robind/wxPython/rc/$VERSION/CHANGES.html
109 echo "Cleaning up staging dir..."