From 8b4d2651a35e4ac9d571e72bb940a999ced7ea95 Mon Sep 17 00:00:00 2001 From: bp-sawyers Date: Wed, 22 Sep 2010 13:18:13 +0000 Subject: [PATCH] Add PREGA keyword to buildcore.sh git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@7573 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- buildcore.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/buildcore.sh b/buildcore.sh index 7191151be..053ae243e 100755 --- a/buildcore.sh +++ b/buildcore.sh @@ -21,6 +21,8 @@ # Usage: buildcore.sh [attr=value attr=value ...] # PROMOTE=1 - if the attribute "PROMOTE" is specified, means an official dot release. # Otherwise, and snap build is assumed. +# PREGA=1 - means this is a branch that has not been released yet, so during the promote, copy the +# xcat-core tarball to the SF web site instead of the FRS area. # UP=0 or UP=1 - override the default upload behavior # SVNUP= - control which rpms get built by specifying a coresvnup file @@ -379,7 +381,7 @@ while ! rsync -urLv --delete $SRCD $UPLOADUSER,xcat@web.sourceforge.net:htdocs/$ do : ; done # Upload the tarball to sourceforge -if [ "$PROMOTE" = 1 -a "$REL" != "devel" ]; then +if [ "$PROMOTE" = 1 -a "$REL" != "devel" -a "$PREGA" != 1 ]; then # upload tarball to FRS area #scp $TARNAME $UPLOADUSER@web.sourceforge.net:uploads/ while ! rsync -v $TARNAME $UPLOADUSER,xcat@web.sourceforge.net:/home/frs/project/x/xc/xcat/xcat/$REL.x_$OSNAME/