Add script to automate the uploading of Release files

git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@3017 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb
This commit is contained in:
teastep 2005-11-17 19:05:16 +00:00
parent 2f83b1bf55
commit e5d1ff3c2b
2 changed files with 13 additions and 1 deletions

View File

@ -240,7 +240,7 @@ case $VERSION in
XMLPROJ=Shorewall-docs2
BUILDLRP=
;;
2.5.*|3.0.0*)
3.0.*)
CVSTAG=HEAD
DOCTAG=HEAD
XMLPROJ=Shorewall-docs2

12
tools/build/upload Executable file
View File

@ -0,0 +1,12 @@
#/bin/sh
DEST="root@mail.shorewall.net:/var/ftp/pub/shorewall/${1%.*}/shorewall-$1"
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