]>
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 -R $STAGING_DIR/* $destdir
24 if [ $skipupload != yes ]; then
25 destdir
=$UPLOAD_PREVIEW_ROOT/$DAILY
26 echo "Copying to $UPLOAD_HOST at $destdir..."
27 if [ $UPLOAD_METHOD = ssh ]; then
28 ssh $UPLOAD_USER@
$UPLOAD_HOST "mkdir -p $destdir"
29 scp
-pr $STAGING_DIR/* $UPLOAD_USER@
$UPLOAD_HOST:/$destdir
31 if [ $UPLOAD_METHOD = ftp ]; then
32 lftp
-c "open $UPLOAD_HOST; mkdir $destdir"
33 lftp
-c "open $UPLOAD_HOST; cd $destdir; mput $STAGING_DIR/*"
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.
54 URL: $UPLOAD_URL_ROOT/preview/$DAILY
55 Changes: $UPLOAD_URL_ROOT/preview/$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 -R $STAGING_DIR/* $destdir
78 if [ $skipupload != yes ]; then
79 echo "Copying to $UPLOAD_HOST..."
80 destdir
=$UPLOAD_RELEASE_ROOT/$VERSION
81 if [ $UPLOAD_METHOD = ssh ]; then
82 ssh $UPLOAD_USER@
$UPLOAD_HOST "mkdir -p $destdir"
83 scp
-pr $STAGING_DIR/* $UPLOAD_USER@
$UPLOAD_HOST:/$destdir
85 if [ $UPLOAD_METHOD = ftp ]; then
86 lftp
-c "open $UPLOAD_HOST; mkdir $destdir"
87 lftp
-c "open $UPLOAD_HOST; cd $destdir; mput $STAGING_DIR/*"
90 # Send email to wxPython-dev
92 TO
=wxPython
-dev@lists.wxwidgets.org
94 cat <<EOF | /usr/sbin/sendmail $TO
95 From: R'bot <rbot@wxpython.org>
97 Subject: $VERSION release candidate build uploaded
102 A new RC build of wxPython has been uploaded to starship.
105 URL: $UPLOAD_URL_ROOT/release/$VERSION
106 Changes: $UPLOAD_URL_ROOT/release/$VERSION/CHANGES.html
115 echo "Cleaning up staging dir..."