shorewall_code/tools/build/upload
2006-02-24 19:53:09 +00:00

20 lines
537 B
Plaintext
Executable File

#/bin/sh
case $1 in
3.1.*)
DEST="root@mail.shorewall.net:/srv/ftp/pub/shorewall/development/${1%.*}/shorewall-$1"
;;
*)
DEST="root@mail.shorewall.net:/srv/ftp/pub/shorewall/${1%.*}/shorewall-$1"
;;
esac
usage() { echo "$0: <version>"; }
[ $# -eq 1 ] || usage
[ -d errata ] || mkdir errata
echo "There are no known problems in Shorewall version $1" > known_problems.txt
scp -r errata known_problems.txt patch-$1 ${1}.* shorewall-${1}/releasenotes.txt shorewall-${1}-[0-1]* shorewall*${1}*.tgz* shorewall*${1}*.bz2* $DEST