aboutsummaryrefslogtreecommitdiffstats
path: root/dist-tools/upload
blob: 3a76ee49de1438bea65b87da2b341dfca9eb0172 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
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