mirror of
https://gitlab.com/shorewall/code.git
synced 2024-11-08 08:44:05 +01:00
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:
parent
2f83b1bf55
commit
e5d1ff3c2b
@ -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
12
tools/build/upload
Executable 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
|
Loading…
Reference in New Issue
Block a user