aboutsummaryrefslogtreecommitdiffstats
path: root/upload
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>1998-12-31 17:26:19 +0000
committerEric S. Raymond <esr@thyrsus.com>1998-12-31 17:26:19 +0000
commitea5cd8e980d1dbc710e3383b02f0b4bffec0b8b1 (patch)
treee8d207f731a6c379a9d8fe2bbe0c2d1c318e569b /upload
parent9de883d465a009f59f8dd65498559bd8ac1f3fbc (diff)
downloadfetchmail-ea5cd8e980d1dbc710e3383b02f0b4bffec0b8b1.tar.gz
fetchmail-ea5cd8e980d1dbc710e3383b02f0b4bffec0b8b1.tar.bz2
fetchmail-ea5cd8e980d1dbc710e3383b02f0b4bffec0b8b1.zip
Initial revision
svn path=/trunk/; revision=2307
Diffstat (limited to 'upload')
-rwxr-xr-xupload57
1 files changed, 57 insertions, 0 deletions
diff --git a/upload b/upload
new file mode 100755
index 00000000..c24dbf1b
--- /dev/null
+++ b/upload
@@ -0,0 +1,57 @@
+#!/bin/sh
+
+version=`sed -n '/VERSION *= *\(.*\)/s//\1/p' <Makefile`
+echo "Uploading fetchmail version ${version}"
+
+if [ $* ]
+then
+ ../upload $*
+else
+ lftp <<EOF
+# First, copy to primary website
+open ${WWWHOST}
+cd ${WWWDIR}/fetchmail
+put fetchmail-${version}.tar.gz
+put fetchmail-FAQ.html
+put fetchmail-${version}-1.i386.rpm
+put fetchmail-${version}-1.src.rpm
+put fetchmail-features.html
+put NEWS
+put design-notes.html
+#put funny.html
+#put fetchmail.gif
+#put bighand.gif
+put index.html
+
+# Next, upload to the ftp site
+open locke.ccil.org
+cd ~ftp/pub/esr/fetchmail
+put fetchmail-${version}.tar.gz
+put fetchmail-${version}-1.i386.rpm
+put fetchmail-${version}-1.src.rpm
+put README
+put FAQ
+put FEATURES
+close
+
+# Next, upload to Sunsite
+open -u anonymous,esr@thyrsus.com metalab.unc.edu
+cd incoming/Linux
+put fetchmail-${version}.tar.gz
+put fetchmail.lsm
+put README -o fetchmail.README
+put fetchmail-FAQ.html
+put fetchmail-${version}-1.i386.rpm
+put fetchmail-${version}-1.src.rpm
+close
+
+# Finally, upload the RPMS to Red Hat
+open incoming.redhat.com
+cd libc6
+put fetchmail-${version}-1.i386.rpm
+put fetchmail-${version}-1.src.rpm
+close
+
+EOF
+ echo "fetchmail uploaded"
+fi \ No newline at end of file