[r1394]: trunk / yaws / scripts / make-release Maximize Restore History

Download this file

make-release    41 lines (25 with data), 894 Bytes


#set -x

. ../vsn.mk

echo packing release ${YAWS_VSN} 

Y=`echo ${YAWS_VSN} | sed 's/\./-/g'`

if [ ! -f ./make-release ]; then
    echo "need to be in scripts dir"; exit 1;

(cd ../win32; make clean all)
cd ../..

#cvs tag -F yaws-${Y}
svn delete https://erlyaws.svn.sourceforge.net/svnroot/erlyaws/tags/yaws-${Y} -m ""  2> /dev/null
svn copy https://erlyaws.svn.sourceforge.net/svnroot/erlyaws/trunk/ https://erlyaws.svn.sourceforge.net/svnroot/erlyaws/tags/yaws-${Y} -m "version ${Y}"

rm -rf tmp 2> /dev/null
mkdir tmp
cd tmp
svn export https://erlyaws.svn.sourceforge.net/svnroot/erlyaws/trunk
cd trunk
mv yaws yaws-${YAWS_VSN}
ln -s yaws-${YAWS_VSN} yaws
tar cfz  yaws-${YAWS_VSN}.tar.gz yaws  yaws-${YAWS_VSN}

echo release resides in `pwd`/yaws-${YAWS_VSN}.tar.gz 
echo release resides in `pwd`/../../win32/Yaws-${YAWS_VSN}-windows-installer.exe

exit 0