mirror of
				https://github.com/xcat2/xcat-core.git
				synced 2025-11-03 21:02:34 +00:00 
			
		
		
		
	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:
		@@ -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
 | 
			
		||||
 
 | 
			
		||||
							
								
								
									
										10
									
								
								builddep.sh
									
									
									
									
									
								
							
							
						
						
									
										10
									
								
								builddep.sh
									
									
									
									
									
								
							@@ -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
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user