Create new make process
This commit is contained in:
parent
5813483872
commit
2f9ff7ecd3
1 changed files with 44 additions and 0 deletions
44
makerelease
Executable file
44
makerelease
Executable file
|
@ -0,0 +1,44 @@
|
|||
#!/bin/bash
|
||||
|
||||
prjname=archfi
|
||||
version=$(date +"%Y.%m.%d.%H.%M.%S")
|
||||
srcpath=.
|
||||
|
||||
#archfi
|
||||
#sed /apptitle=/c\apptitle=\""Arch Linux Fast Install (archfi) - Version: $version (GPLv3)"\" archfi |more
|
||||
#sed /baseurl=/c\baseurl=https://raw.githubusercontent.com/MatMoul/archfi/master archfi |more
|
||||
#sed -i /apptitle=/c\apptitle=\""Arch Linux Fast Install (archfi) - Version: $version (GPLv3)"\" archfi
|
||||
#sed -i /baseurl=/c\baseurl=https://raw.githubusercontent.com/MatMoul/archfi/master archfi
|
||||
|
||||
|
||||
#CHANGELOG
|
||||
#sed '/Current\ Version\ :/{n;d}' CHANGELOG |more
|
||||
#sed '/Current\ Version\ :/a-------------------------------' CHANGELOG |more
|
||||
#sed "/Current\ Version\ :/c\Version\ :\ $version\ :" CHANGELOG |more
|
||||
sed '1s/^/\n/' CHANGELOG |more
|
||||
sed '1s/^/-----------------\n/' CHANGELOG |more
|
||||
sed '1s/^/Current Version :\n/' CHANGELOG |more
|
||||
|
||||
#commit
|
||||
#fuse branch
|
||||
|
||||
|
||||
|
||||
|
||||
#Sourceforge :
|
||||
|
||||
#archfi
|
||||
#baseurl=https://raw.githubusercontent.com/MatMoul/archfi/master
|
||||
|
||||
# Make redirect Page
|
||||
#pubfile=resources/sourceforge.net/pub/$prjname/index.php
|
||||
#echo "<?php" > $pubfile
|
||||
#echo "header(\"Location: http://downloads.sourceforge.net/project/$prjname/release/$version/$prjname\");" >> $pubfile
|
||||
#echo "exit;" >> $pubfile
|
||||
#echo "?>" >> $pubfile
|
||||
# End Make redirect Page
|
||||
|
||||
# Publish files
|
||||
#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
|
Loading…
Reference in a new issue