From 2f9ff7ecd3321dfeea15751546349290260daaa0 Mon Sep 17 00:00:00 2001 From: MatMoul Date: Thu, 20 Aug 2015 19:14:56 +0200 Subject: [PATCH] Create new make process --- makerelease | 44 ++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 44 insertions(+) create mode 100755 makerelease diff --git a/makerelease b/makerelease new file mode 100755 index 0000000..a2b8ad0 --- /dev/null +++ b/makerelease @@ -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 " $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