summaryrefslogtreecommitdiffstats
path: root/distribute.sh
blob: 89f2d0439cbba0a6b7217b926e84e0c8d160098f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#! /bin/sh

SRC_NAME=id-utils-4.0

gpg -b --yes $SRC_NAME.tar.gz

echo "directory: id-utils" > $SRC_NAME.tar.gz.directive

gpg --clearsign --yes $SRC_NAME.tar.gz.directive

#upload results to ftp.
cmdftp ftp-upload.gnu.org<<EOF
cd /incoming/alpha
u $SRC_NAME.tar.gz .
u $SRC_NAME.tar.gz.sig .
u $SRC_NAME.tar.gz.directive.asc .
exit
EOF