New Release : 2015.08.20.21.59.13

This commit is contained in:
MatMoul 2015-08-20 21:59:18 +02:00
parent 17ee4efa5c
commit 8eb1609250
2 changed files with 15 additions and 11 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.54.44 (GPLv3)" apptitle="Arch Linux Fast Install (archfi) - Version: 2015.08.20.21.59.13 (GPLv3)"
baseurl=https://raw.githubusercontent.com/MatMoul/archfi/master baseurl=https://raw.githubusercontent.com/MatMoul/archfi/master

24
makerelease Normal file → Executable file
View file

@ -2,7 +2,13 @@
ssh -T git@github.com ssh -T git@github.com
if [ ! "$?" = "1" ]; then if [ ! "$?" = "1" ]; then
echo "No ssh key loaded exiting..." echo "No Github ssh key loaded exiting..."
exit 1
fi
scp matmoul@web.sourceforge.net:/home/frs/project/$prjname/README.txt /dev/null
if [ ! "$?" = "1" ]; then
echo "No Sourceforge ssh key loaded exiting..."
exit 1 exit 1
fi fi
@ -88,14 +94,12 @@ sed -i "/baseurl=/c\baseurl=http://downloads.sourceforge.net/project/archfi/rele
echo "Publish release..." echo "Publish release..."
scp -r $targetpath matmoul@web.sourceforge.net:/home/frs/project/$prjname/release/ scp -r $targetpath matmoul@web.sourceforge.net:/home/frs/project/$prjname/release/
# Make redirect Page echo "Update redirect page..."
#echo "Update redirect page..." pubfile=.build/index.php
#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/
#scp -r $pubfile matmoul@web.sourceforge.net:/home/project-web/$prjname/htdocs/$prjname/
# End Make redirect Page
rm -R .build rm -R .build