This commit is contained in:
MatMoul 2015-08-20 23:24:44 +02:00
parent 756c9cef7b
commit f106cbf23b

View file

@ -76,12 +76,12 @@ sed -i "/baseurl=/c\baseurl=http://downloads.sourceforge.net/project/archdi/rele
echo "Publish release..." echo "Publish release..."
scp -r $targetpath matmoul@web.sourceforge.net:/home/frs/project/$prjname/release/pkg/ scp -r $targetpath matmoul@web.sourceforge.net:/home/frs/project/$prjname/release/pkg/
#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/pkg/$version/lib\");" >> $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-lib/
rm -R .build rm -R .build