From e5d1ff3c2b51fc9cf092bf4b9ae1706c02b9f1be Mon Sep 17 00:00:00 2001 From: teastep Date: Thu, 17 Nov 2005 19:05:16 +0000 Subject: [PATCH] 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 --- tools/build/makeshorewall | 2 +- tools/build/upload | 12 ++++++++++++ 2 files changed, 13 insertions(+), 1 deletion(-) create mode 100755 tools/build/upload diff --git a/tools/build/makeshorewall b/tools/build/makeshorewall index 755932c70..a222a16d3 100644 --- a/tools/build/makeshorewall +++ b/tools/build/makeshorewall @@ -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 diff --git a/tools/build/upload b/tools/build/upload new file mode 100755 index 000000000..be286761f --- /dev/null +++ b/tools/build/upload @@ -0,0 +1,12 @@ +#/bin/sh + +DEST="root@mail.shorewall.net:/var/ftp/pub/shorewall/${1%.*}/shorewall-$1" + +usage() { echo "$0: "; } + +[ $# -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