Subversion Repositories Aucun

Rev

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

Rev Author Line No. Line
49 ixe013 1
@echo off
92 ixe013 2
 
3
if "%1"=="" goto HELP
4
echo This will release version %1
5
pause
6
 
7
rem Clean up any failed previous run
8
if exist aucun\. rd /s /q aucun
9
 
49 ixe013 10
echo Fetching a clean copy...
92 ixe013 11
svn -q co http://src.paralint.com/aucun/trunk aucun
12
 
13
rem Call the version specific build all batch file
14
cd aucun
15
call makezip.cmd
16
cd ..
17
copy aucun\aucun*.zip
18
 
19
rem Done with our copy
49 ixe013 20
rd /s /q aucun
92 ixe013 21
 
184 ixe013 22
unzip -l aucun.zip *.dll
23
 
24
if NOT ERRORLEVEL 0 (
25
echo Missing DLL from zip !
26
) else (
92 ixe013 27
rem Rename and check-in 
28
ren aucun-src.zip aucun-src-%1.zip
29
ren aucun.zip aucun-%1.zip
30
svn add aucun-src-%1.zip
31
svn add aucun-%1.zip
32
 
33
rem
34
rem Check-in (release branch)
35
svn ci -m "Version %1 released"
36
 
37
rem Tag
185 ixe013 38
svn cp http://src.paralint.com/aucun/trunk http://src.paralint.com/aucun/tags/%1 -m "Version %1"
184 ixe013 39
)
92 ixe013 40
 
41
goto END
42
 
43
:HELP
44
echo Pass the version name in parameter
45
 
46
:END
49 ixe013 47
echo.