Change build scripts for new sourceforge upload process

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3869 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
bp-sawyers 2009-07-23 15:58:16 +00:00
parent 54691a819d
commit 8de7ab54bc
2 changed files with 5 additions and 6 deletions

View File

@ -190,8 +190,8 @@ chmod g+w $TARNAME
rsync -rLv --delete $CORE $UPLOADUSER,xcat@web.sourceforge.net:htdocs/yum/$REL/
if [ "$1" = "promote" -a "$REL" != "devel" ]; then
# 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."
#scp $TARNAME $UPLOADUSER@web.sourceforge.net:uploads/
echo "$TARNAME has been built. Remember to upload it to sourceforge using its File Manager."
else
scp $TARNAME $UPLOADUSER,xcat@web.sourceforge.net:htdocs/yum/$REL/
fi

View File

@ -47,12 +47,11 @@ if [ $UPLOAD == 0 ]; then
exit 0;
fi
# Upload the dir structure to SF yum area. Currently we do not have it preserver permissions
# 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/
#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 uploaded to the FRS uploads dir. Remember to move it into the release."
#scp ../$DFNAME $UPLOADUSER@frs.sourceforge.net:uploads/
#scp ../$DFNAME $UPLOADUSER@web.sourceforge.net:uploads/
echo "$DFNAME has been built. Remember to upload it to sourceforge using its File Manager."