mirror of
https://gitlab.com/shorewall/code.git
synced 2025-08-18 12:47:25 +02: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:
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
|
Reference in New Issue
Block a user