From aa9d9140d04540e5ab02f1a03c91ae885bd8e48a Mon Sep 17 00:00:00 2001 From: xq2005 Date: Thu, 27 Jun 2013 14:42:25 +0000 Subject: [PATCH] upload the promote tar ball to xcat/.x_Ubuntu/ git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.8@16808 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- build-ubunturepo | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/build-ubunturepo b/build-ubunturepo index 76e7f514f..36e115d28 100755 --- a/build-ubunturepo +++ b/build-ubunturepo @@ -278,10 +278,12 @@ __EOF__ fi #upload the tar ball + #for the GA build, upload to https://sourceforge.net/projects/xcat/files/xcat/.x_Ubuntu/ + #for other scenario, upload to https://sourceforge.net/projects/xcat/files/ubuntu/ if [ "$PROMOTE" = 1 -a "$REL" != "devel" -a "$PREGA" != 1 ]; then i=0 - echo "Uploading $tar_name to ${sf_dir}/ubuntu/${REL}/ ..." - while [ $((i+=1)) -le 5 ] && ! rsync -v $tar_name ${uploader},xcat@web.sourceforge.net:${sf_dir}/ubuntu/${REL}/ + echo "Uploading $tar_name to ${sf_dir}/xcat/${REL}.x_Ubuntu/ ..." + while [ $((i+=1)) -le 5 ] && ! rsync -v $tar_name ${uploader},xcat@web.sourceforge.net:${sf_dir}/xcat/${REL}.x_Ubuntu/ do : ; done else i=0