diff options
Diffstat (limited to 'dist-tools/upload')
-rwxr-xr-x | dist-tools/upload | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/dist-tools/upload b/dist-tools/upload new file mode 100755 index 00000000..3a76ee49 --- /dev/null +++ b/dist-tools/upload @@ -0,0 +1,26 @@ +#!/bin/sh + +version=`sed -n '/VERSION *= *\(.*\)/s//\1/p' <Makefile` +echo "Uploading fetchmail version ${version}" + +if [ $* ] +then + ../upload $* +else + +echo "Beginning web upload..." +# First, copy to primary website +dest=esr@${WWWHOST}:${WWWDIR}/fetchmail +scp fetchmail-${version}.tar.gz.asc $dest +#scp funny.html $dest +#scp fetchmail.png $dest +#scp bighand.png $dest +scp growth.png $dest +scp timeseries $dest +scp growthplot $dest +scp checksums $dest +# shipper does the rest. +rm -f ANNOUNCE.FRESHMEAT +shipper + + |