Update buildcore.sh to handle official release

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3210 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
bp-sawyers 2009-04-16 20:01:54 +00:00
parent 5ede9888bd
commit 99f6933eb5

View File

@ -161,7 +161,9 @@ chmod g+w $TARNAME
# Upload the tarball and individual RPMs
rsync -rLv --delete $CORE $UPLOADUSER,xcat@web.sourceforge.net:htdocs/yum/$REL/
if [ "$2" = "promote" -a "$1" != "devel" ]; then
true #todo: upload tarball to FRS.
# upload tarball to FRS area
scp $TARNAME $UPLOADUSER@web.sourceforge.net:uploads/
echo "$TARNAME has been uploaded to the FRS uploads dir. Remember to move it into the release."
else
scp $TARNAME $UPLOADUSER,xcat@web.sourceforge.net:htdocs/yum/$REL/
fi