Update makerelease
This commit is contained in:
parent
c7a97388bd
commit
6ba95eb75b
1 changed files with 1 additions and 8 deletions
|
@ -79,19 +79,12 @@ sed -i "/baseurl=/c\baseurl=http://downloads.sourceforge.net/project/archdi/rele
|
|||
cd $targetpath
|
||||
rm pkg.tar
|
||||
tar -cf pkg.tar *
|
||||
find . -type f ! -name 'pkg.tar' -delete
|
||||
cd ../..
|
||||
|
||||
echo "Publish release..."
|
||||
scp -r $targetpath matmoul@web.sourceforge.net:/home/frs/project/$prjname/release/pkg/
|
||||
|
||||
echo "Update lib redirect page..."
|
||||
pubfile=.build/index.php
|
||||
echo "<?php" > $pubfile
|
||||
echo "header(\"Location: http://downloads.sourceforge.net/project/$prjname/release/pkg/$version/lib\");" >> $pubfile
|
||||
echo "exit;" >> $pubfile
|
||||
echo "?>" >> $pubfile
|
||||
scp $pubfile matmoul@web.sourceforge.net:/home/project-web/$prjname/htdocs/$prjname-lib/index.php
|
||||
|
||||
echo "Update pkg redirect page..."
|
||||
pubfile=.build/index.php
|
||||
echo "<?php" > $pubfile
|
||||
|
|
Loading…
Add table
Reference in a new issue