# ---------------------------------------------------------------------------
# Final disposition of build results...
+chmod a+r $STAGING_DIR/*
if [ $KIND = dryrun ]; then
# we're done
if [ $KIND = daily ]; then
- destdir=$UPLOAD_PREVIEW_ROOT/$DAILY
+ destdir=$UPLOAD_DAILY_ROOT/$DAILY
echo "Copying to the starship at $destdir..."
ssh $UPLOAD_HOST "mkdir -p $destdir"
scp $STAGING_DIR/* $UPLOAD_HOST:/$destdir
+ ssh $UPLOAD_HOST "cd $destdir && ls -al"
+
echo "Cleaning up staging dir..."
rm $STAGING_DIR/*
# only N days worth
# TODO: Send email to wxPython-dev?
+ cat <<EOF | mail -s "New test build uploaded" robin@alldunn.com
+Hi,
+
+A new test build of wxPython has been uploaded to starship.
+
+ Version: $VERSION
+ Pythons: $PYVER
+ URL: http://starship.python.net/crew/robind/wxPython/daily/$DAILY
+
+Have fun!
+R'bot
+EOF
exit 0
fi