mirror of
https://gitlab.com/shorewall/code.git
synced 2025-01-11 08:08:12 +01:00
Modify upload for Beta Releases -- phase II
git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@3654 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb
This commit is contained in:
parent
fb8c81f8c0
commit
7513d25f13
@ -1,11 +1,14 @@
|
||||
#/bin/sh
|
||||
|
||||
rpm=
|
||||
|
||||
case $1 in
|
||||
*.*[13569].*)
|
||||
DEST="root@mail.shorewall.net:/srv/ftp/pub/shorewall/development/${1%.*}/shorewall-$1"
|
||||
;;
|
||||
*Beta*|*RC*)
|
||||
DEST="root@mail.shorewall.net:/srv/ftp/pub/shorewall/development/${1%.*}/shorewall-$1"
|
||||
rpm=shorewall-${1%-*}-0${1#*-}\*
|
||||
;;
|
||||
*)
|
||||
DEST="root@mail.shorewall.net:/srv/ftp/pub/shorewall/${1%.*}/shorewall-$1"
|
||||
@ -19,4 +22,4 @@ usage() { echo "$0: <version>"; }
|
||||
[ -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
|
||||
scp -r errata known_problems.txt patch-$1 ${1}.* shorewall-${1}/releasenotes.txt shorewall-${1}-[0-1]* shorewall*${1}*.tgz* shorewall*${1}*.bz2* $rpm $DEST
|
||||
|
Loading…
Reference in New Issue
Block a user