Subversion Repositories Aucun

Rev

Rev 184 | Go to most recent revision | Blame | Compare with Previous | Last modification | View Log | RSS feed

@echo off

if "%1"=="" goto HELP
echo This will release version %1
pause

rem Clean up any failed previous run

if exist aucun\. rd /s /q aucun

echo Fetching a clean copy...
svn -q co http://src.paralint.com/aucun/trunk aucun

rem Call the version specific build all batch file

cd aucun
call makezip.cmd
cd ..
copy aucun\aucun*.zip

rem Done with our copy

rd /s /q aucun

unzip -l aucun.zip *.dll

if NOT ERRORLEVEL 0 (
echo Missing DLL from zip !
) else (
rem Rename and check-in
ren aucun-src.zip aucun-src-%1.zip
ren aucun.zip aucun-%1.zip
svn add aucun-src-%1.zip
svn add aucun-%1.zip

rem

rem Check-in (release branch)
svn ci -m "Version %1 released"

rem Tag

svn cp http://src.paralint.com/aucun/trunk http://src.paralint.com/aucun/tags/%1 -m "Version %1"
)

goto END

:HELP
echo Pass the version name in parameter

:END
echo.