Automatically upload tarball to FRS area also

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3995 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
bp-sawyers 2009-08-13 19:07:34 +00:00
parent 1aa8107eda
commit 7417acfe17
2 changed files with 8 additions and 5 deletions

View File

@ -200,7 +200,8 @@ do : ; done
if [ "$PROMOTE" = 1 -a "$REL" != "devel" ]; then
# upload tarball to FRS area
#scp $TARNAME $UPLOADUSER@web.sourceforge.net:uploads/
echo "$TARNAME has been built. Remember to upload it to sourceforge using its File Manager."
while ! rsync -v $TARNAME "$UPLOADUSER,xcat@web.sourceforge.net:/home/frs/project/x/xc/xcat/xcat/$REL.x Linux/"
do : ; done
else
while ! rsync -v $TARNAME $UPLOADUSER,xcat@web.sourceforge.net:htdocs/yum/$REL/
do : ; done

View File

@ -49,9 +49,11 @@ fi
# Upload the dir structure to SF yum area. Currently we do not have it preserving permissions
# because that gives errors when different users try to do it.
rsync -rlv * $UPLOADUSER,xcat@web.sourceforge.net:htdocs/yum/xcat-dep/
while ! rsync -rlv --delete * $UPLOADUSER,xcat@web.sourceforge.net:htdocs/yum/xcat-dep/
do : ; done
#ssh jbjohnso@shell1.sf.net "cd /home/groups/x/xc/xcat/htdocs/yum/; rm -rf dep-snap; tar jxvf $DFNAME"
# Upload the tarball to the SF uploads dir for the FRS
#scp ../$DFNAME $UPLOADUSER@web.sourceforge.net:uploads/
echo "$DFNAME has been built. Remember to upload it to sourceforge using its File Manager."
# Upload the tarball to the SF FRS Area
#scp ../$DFNAME "$UPLOADUSER@web.sourceforge.net:/home/frs/project/x/xc/xcat/xcat-dep/2.x Linux/"
while ! rsync -v ../$DFNAME "$UPLOADUSER,xcat@web.sourceforge.net:/home/frs/project/x/xc/xcat/xcat-dep/2.x Linux/"
do : ; done