New Release : 2015.08.20.21.54.44

This commit is contained in:
MatMoul 2015-08-20 21:54:49 +02:00
parent 67932300d2
commit 17ee4efa5c
2 changed files with 14 additions and 8 deletions

2
archfi
View file

@ -12,7 +12,7 @@
# referance : https://wiki.archlinux.org/index.php/Installation_guide # 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 baseurl=https://raw.githubusercontent.com/MatMoul/archfi/master

20
makerelease Executable file → Normal file
View file

@ -78,18 +78,24 @@ git push
#Sourceforge : #Sourceforge :
#archfi targetpath=.build/$version
#baseurl=https://raw.githubusercontent.com/MatMoul/archfi/master 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 # Make redirect Page
#pubfile=resources/sourceforge.net/pub/$prjname/index.php #echo "Update redirect page..."
#pubfile=.build/index.php
#echo "<?php" > $pubfile #echo "<?php" > $pubfile
#echo "header(\"Location: http://downloads.sourceforge.net/project/$prjname/release/$version/$prjname\");" >> $pubfile #echo "header(\"Location: http://downloads.sourceforge.net/project/$prjname/release/$version/$prjname\");" >> $pubfile
#echo "exit;" >> $pubfile #echo "exit;" >> $pubfile
#echo "?>" >> $pubfile #echo "?>" >> $pubfile
#scp -r $pubfile matmoul@web.sourceforge.net:/home/project-web/$prjname/htdocs/$prjname/
# End Make redirect Page # End Make redirect Page
# Publish files rm -R .build
#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