New Release : 2015.08.20.21.59.13
This commit is contained in:
parent
17ee4efa5c
commit
8eb1609250
2 changed files with 15 additions and 11 deletions
2
archfi
2
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.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
|
||||
|
||||
|
||||
|
|
24
makerelease
Normal file → Executable file
24
makerelease
Normal file → Executable file
|
@ -2,7 +2,13 @@
|
|||
|
||||
ssh -T git@github.com
|
||||
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
|
||||
fi
|
||||
|
||||
|
@ -88,14 +94,12 @@ sed -i "/baseurl=/c\baseurl=http://downloads.sourceforge.net/project/archfi/rele
|
|||
echo "Publish release..."
|
||||
scp -r $targetpath matmoul@web.sourceforge.net:/home/frs/project/$prjname/release/
|
||||
|
||||
# Make redirect Page
|
||||
#echo "Update redirect page..."
|
||||
#pubfile=.build/index.php
|
||||
#echo "<?php" > $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
|
||||
echo "Update redirect page..."
|
||||
pubfile=.build/index.php
|
||||
echo "<?php" > $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/
|
||||
|
||||
rm -R .build
|
||||
|
|
Loading…
Reference in a new issue