From 17ee4efa5c1a6ac2f7d49859355b09177401a12c Mon Sep 17 00:00:00 2001 From: MatMoul Date: Thu, 20 Aug 2015 21:54:49 +0200 Subject: [PATCH] New Release : 2015.08.20.21.54.44 --- archfi | 2 +- makerelease | 20 +++++++++++++------- 2 files changed, 14 insertions(+), 8 deletions(-) mode change 100755 => 100644 makerelease diff --git a/archfi b/archfi index f97ce06..610f0a8 100644 --- a/archfi +++ b/archfi @@ -12,7 +12,7 @@ # referance : https://wiki.archlinux.org/index.php/Installation_guide -apptitle="Arch Linux Fast Install (archfi) - Version: 2015.08.20.21.24.13 (GPLv3)" +apptitle="Arch Linux Fast Install (archfi) - Version: 2015.08.20.21.54.44 (GPLv3)" baseurl=https://raw.githubusercontent.com/MatMoul/archfi/master diff --git a/makerelease b/makerelease old mode 100755 new mode 100644 index 5d68efd..5487765 --- a/makerelease +++ b/makerelease @@ -78,18 +78,24 @@ git push #Sourceforge : -#archfi -#baseurl=https://raw.githubusercontent.com/MatMoul/archfi/master +targetpath=.build/$version +mkdir -p $targetpath +cp -R * $targetpath + +echo "Finalise archfi script..." +sed -i "/baseurl=/c\baseurl=http://downloads.sourceforge.net/project/archfi/release/$version" $targetpath/archfi + +echo "Publish release..." +scp -r $targetpath matmoul@web.sourceforge.net:/home/frs/project/$prjname/release/ # Make redirect Page -#pubfile=resources/sourceforge.net/pub/$prjname/index.php +#echo "Update redirect page..." +#pubfile=.build/index.php #echo " $pubfile #echo "header(\"Location: http://downloads.sourceforge.net/project/$prjname/release/$version/$prjname\");" >> $pubfile #echo "exit;" >> $pubfile #echo "?>" >> $pubfile +#scp -r $pubfile matmoul@web.sourceforge.net:/home/project-web/$prjname/htdocs/$prjname/ # End Make redirect Page -# Publish files -#scp -r $targetpath matmoul@web.sourceforge.net:/home/frs/project/$prjname/release/ -#scp -r $pubfile matmoul@web.sourceforge.net:/home/project-web/$prjname/htdocs/$prjname/ -# End Publish files +rm -R .build